-
Notifications
You must be signed in to change notification settings - Fork 845
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
Jaeger Showing 2 Traces With Same MessageId #2598
Labels
bug
Something isn't working
Comments
hi @carlyn12! So, currently this is expected. There's a test that shows this same behavior that you describe: We are not sure ourselves though what is the correct behavior here: |
Closing, this is now configurable using
to disable the receive span |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I have two simple spring boot apps that communicate over jms and implement
opentelemetry auto tracing with jaeger. When sending the traces to my local jaeger instance, I see two different traces showing where one is correctly showing both spans end-to-end and the other appears to be a duplicate that has the same messageId as the consumer.
**UPDATE: this behavior is only occurring when I have Dotel.resource.attributes=service.name property set to the same thing in both the consumer and producer
To Reproduce
Steps to reproduce the behavior:
built both apps with maven
start jaeger-all-in-one docker container
run the applications with the following command:
-Dotel.metrics.exporter=none
-Dotel.exporter.jaeger.endpoint="http://localhost:14250"
-Dotel.resource.attributes=service.name="OTLJmsAuto"
-Dotel.traces.sampler="always_on"
-Dotel.instrumentation.jms.enabled=true
-Dapplication.home=./
-Dapplication.name=producer
-javaagent:./opentelemetry-javaagent-all.jar
-jar ./target/producer-0.0.1-SNAPSHOT.jar
navigate to http://localhost:16686/search and see two different traces showing(see screenshots)
Expected behavior
Only the top trace should show which includes two spans(producer and consumer).
Version (please complete the following information):
OS: Linux
Jaeger version: 1.22
What troubleshooting steps did you try?
Tried upgrading dependency versions as well as using the latest version of opentelemetry-javaagent-all.jar. Tried with debug mode.
The text was updated successfully, but these errors were encountered: