-
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
Update jaxrs-1.0 to Instrumenter API #3797
Update jaxrs-1.0 to Instrumenter API #3797
Conversation
if (serverSpan == null) { | ||
spanName = pathBasedSpanName; | ||
} else { | ||
spanName = SpanNames.fromMethod(target, method); | ||
updateServerSpanName(parentContext, serverSpan, pathBasedSpanName); | ||
} |
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.
Similar to #3796
I removed this special case of having a different name for the handler span name when there is no server span (now the handler span has the same name whether or not there is a server span, which is consistent with other instrumentations).
String spanName() { | ||
return SpanNames.fromMethod(target, method); |
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.
Why not use CodeSpanNameExtractor
?
No description provided.