-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Autoconfigure RabbitMQ Java Client metrics #7499
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
Autoconfigure RabbitMQ Java Client metrics #7499
Conversation
We'll need to consider the Rabbit client 4.0 upgrade (#7509) before we can do this. |
I wonder if we could write our own |
@acogoluegnes I'm not sure if you have time, but perhaps you could investigate a Spring Boot specific |
@philwebb Do you mean something based on Spring Boot's |
Yeah, that would be ideal. I was thinking we'd need to copy/paste a bunch of that code but an abstract base class would be much better. |
I created the issue in the Java Client. How would you like to proceed? Should it be included in the current PR or somewhere else? |
The current PR would be best thanks. You can force push and update to the branch. |
@philwebb Here is the |
@philwebb Any update on this? Please let me know if you're fine with the implementation (especially the |
As Spring AMQP 2.0 pulls it already.
PR is now based on RabbitMQ Java Client 4.1.0 (through Spring AMQP 2.0), not just a snapshot. |
Duplicates #10887 |
Enable RabbitMQ Java Client metrics collection if RabbitMQ Java Client 4.0 and Dropwizard Metrics are on the classpath. Configuration flag can also enable/disable (default is to enable).
spring-projects/spring-amqp#507 needs to be merged first.
Fixes #7498