question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use default service name for Spring RabbitMQ consumer

See original GitHub issue

Similar 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:closed
  • Created a year ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mlichtblaucommented, Oct 19, 2022

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!

0reactions
mccullscommented, Oct 19, 2022

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)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found