Tracing: SSE is overwriting "spans" on opentracing
+ resteasy-reactive
#29539
Labels
area/rest
area/smallrye
area/tracing
kind/bug
Something isn't working
triage/wontfix
This will not be worked on
Describe the bug
Quarkus: Upstream
Extensions:
quarkus-resteasy-reactive
,quarkus-smallrye-opentracing
,quarkus-rest-client-reactive
If I request some (server-sent events) data from a
Service A
that use aService B
, I would expect one trace with two Spans (one per service)., however I am getting a trace with a single span (the latest one).Note: used to work with
quarkus-resteasy-mutiny
Trace:
Expected behavior
One trace with two Spans, one per HTTP service that is involved in the transaction.
Actual behavior
Looks like the second API overwrites the first span.
How to Reproduce?
git clone --branch QUARKUS-2303 [email protected]:pjgg/quarkus-test-suite.git
Move on to module
monitoring/opentracing-reactive-grpc
mvn clean verify -Dit.test=ServerSentEventsTraceOpentracingIT
Classes that are involved on this scenario:
io.quarkus.ts.monitoring.opentracing.reactive.grpc.ping.ServerSentEventsPingResource
--> Service Aio.quarkus.ts.monitoring.opentracing.reactive.grpc.ping.clients.ServerSentEventsPongClient
--> http Client of serviceBio.quarkus.ts.monitoring.opentracing.reactive.grpc.pong.ServerSentEventsPongResource
--> Service BServiceA --> HttpClient --> Service B
Output of
uname -a
orver
Linux fedora 6.0.9-200.fc36.x86_64
Output of
java -version
openjdk 17.0.5 2022-10-18
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: