New Span being created for each HTTP request in OpenTracingServerFilter #230
Unanswered
achatterjee104
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Expectation
Scenario 1:
Scenario 2:
Ref: This guide says "Whenever a Micronaut server receives a request, it creates a new span"
From Source Code
From OpenTracingServerFilter,
Tracer.SpanBuilder spanBuilder = continued ? null : newSpan(request, initSpanContext(request))
it seems to be creating new span everytime, irrespective of presence of existing trace-id.
Is my understanding correct?
Beta Was this translation helpful? Give feedback.
All reactions