Use default service name for Spring RabbitMQ consumer
See original GitHub issueSimilar to #855, I would like to use the default service name in applications instrumented with springamqp.
Like in the RabbitDecorator
of the rabbitmq instrumentation, one could use the Config.get().getServiceName()
Can I open a PR for this?
Issue Analytics
- State:
- Created a year ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Spring AMQP
All queues that are declared are bound to that default Exchange with their names as routing keys. You can learn more about the...
Read more >Getting started with RabbitMQ in Spring Boot - Medium
Open your browser and hit into localhost:15672, you'll see the following page: Use guest/guest as username and password. If you are deploying rabbitmq...
Read more >Spring RabbitMQ - using manual channel acknowledgement ...
java - Spring RabbitMQ - using manual channel acknowledgement on a service with @RabbitListener configuration - Stack Overflow. Stack Overflow for Teams – ......
Read more >Spring Boot + RabbitMQ Tutorial - Configure Listeners to ...
Spring MessageListenerContainer is a replacement for a Message-Driven EJB. A connection is set up with the AMQ topic/queue, it gets messages from that...
Read more >Java Client API Guide - RabbitMQ
The following code connects to a RabbitMQ node using the given parameters (host name, port number, etc): ConnectionFactory factory = new ConnectionFactory(); // ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
oh my, I am sorry @mcculls this is it. Apparently I have only checked the dd-java-agent version in the ci-pipeline. Main agent was still on 0.91.0 and update fixed it. Sorry for taking your time and thank you very much for your support!
the
basic.deliver
span should be getting the app’s service name when-Ddd.rabbitmq.legacy.tracing.enabled=false
is set - the only explanation I can think of at the moment is that you’re using a version of the tracer before 0.93.0 (where this feature was added)