-
Notifications
You must be signed in to change notification settings - Fork 873
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
Spring webflux: add user spans as children of the controller span #9572
Conversation
@@ -52,7 +52,6 @@ public final class HttpServerTestOptions { | |||
Predicate<ServerEndpoint> hasHandlerSpan = unused -> false; | |||
Predicate<ServerEndpoint> hasResponseSpan = unused -> false; | |||
Predicate<ServerEndpoint> hasErrorPageSpans = unused -> false; | |||
Predicate<ServerEndpoint> hasHandlerAsControllerParentSpan = unused -> true; |
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.
nice
options.setHasHandlerAsControllerParentSpan(unused -> false); | ||
// TODO (trask) it seems like in this case ideally the controller span (which ends when the | ||
// Mono that the controller returns completes) should end before the server span (which needs | ||
// the result of the Mono) | ||
options.setVerifyServerSpanEndTime(false); |
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.
nice
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.
had to restore disabling end time verification because latest dep tests didn't pass
cadb472
to
eeeb921
Compare
Resolves #9495
Currently spans that should be child spans of the controller appear as child spans of the server span.