-
Notifications
You must be signed in to change notification settings - Fork 48
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
traceId is not being propagated from RabbitListener through its return #510
Comments
Are you saying that our samples do not work well? |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Your examples work fine for the case which is not changing the thread. When I use |
have you passed an executor to the |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Yes, I did wrap the custom context propagator to the supply async, but it does not make traceId propagation possible to the new thread local. |
Can you file an issue in Spring AMQP project where the actual instrumentation takes place? |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing in favour of spring-projects/spring-amqp#2608 |
Hi,
I am designing a system that takes a REST call and sends a message to rabbit a queue. The RabbitListener method for that queue processes the message with its handler, but when I take the message and pass to another queue, the traceId is not propagated to the RabbitListener handler of the new queue.
For visualization purpose;
The header (which comes from the rest through
rabbitTemplate
) includestraceparent
but. Returned message (from this method) to desired queue does not includetraceparent
header.I checked out the examples below; but It did not help to propagate traceId for this case.
https://github.com/micrometer-metrics/micrometer-samples/tree/main/rabbitmq-consumer
https://github.com/micrometer-metrics/micrometer-samples/tree/main/rabbitmq-producer
Thanks for the development @marcingrzejszczak and rest of the team members.
The text was updated successfully, but these errors were encountered: