Propagators, java agent and spring boot application - traces are gone for some endpoints #12617
Labels
bug
Something isn't working
needs author feedback
Waiting for additional feedback from the author
needs repro
needs triage
New issue that requires triage
stale
Describe the bug
We have an API autoinstrumented with javaagent, sending traces to Tempo via otel collector. From upstream we are receiving in our application uber-trace-id so we tried to use the propagators feature. It seems that after adding otel_propagators=tracecontext,jaeger on javaagent all the protected endpoints lost tracing data. We only have traces for unprotected endpoints. Removing the option brings back the tracing.
Steps to reproduce
Expected behavior
traces should still work after adding otel_propagators on all endpoints
Actual behavior
traces are not produced for protected endpoints.
Javaagent or library instrumentation version
javaagent 2.7.0
Environment
JDK: java-17-openjdk
OS: RHEL 5.14.0
[SpringBoot]org.springframework:spring-webmvc:jar:6.1.12
Additional context
No response
The text was updated successfully, but these errors were encountered: