-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate RMI instrumentation to Instrumenter API #4579
Conversation
// TODO replace with client span check - this is a bit different condition though, can we | ||
// remove it? | ||
if (!Java8BytecodeBridge.spanFromContext(parentContext).getSpanContext().isValid()) { | ||
return; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like tests pass without it. +1 to remove 🤷♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But this is very different condition, no? I read it that we don't want to create top level spans for rmi calls. Nothing in our instrumenters does such check.
// TODO replace with client span check - this is a bit different condition though, can we | ||
// remove it? | ||
if (!Java8BytecodeBridge.spanFromContext(parentContext).getSpanContext().isValid()) { | ||
return; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But this is very different condition, no? I read it that we don't want to create top level spans for rmi calls. Nothing in our instrumenters does such check.
Part of #2713