-
Notifications
You must be signed in to change notification settings - Fork 179
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
Set metrics name for Vertx based clients on mqtt rabbitmq and amqp #2034
Set metrics name for Vertx based clients on mqtt rabbitmq and amqp #2034
Conversation
de9fe52
to
818e084
Compare
818e084
to
639e875
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2034 +/- ##
============================================
- Coverage 77.25% 77.17% -0.09%
- Complexity 3466 3468 +2
============================================
Files 294 294
Lines 11652 11662 +10
Branches 1487 1490 +3
============================================
- Hits 9002 9000 -2
- Misses 1954 1961 +7
- Partials 696 701 +5
|
@cescoffier I've been struggling to test Vert.x net client metrics using micrometer. Am I not supposed to find connection count etc. in the global registry? |
Not sure about connection count (it's a metric per time window). Do you have any metrics with the expected prefix? |
Ok so it turns out I wasn't configuring Vert.x correctly to enable metrics. With this:
I have meters such as |
You cannot do that - you need to be in Quarkus. The vert.x micrometer metrics are not reporting the same metrics as (new) quarkus-micrometer. I aligned the reported metrics with the other quarkus-micrometer metrics. The metrics name using |
Yes, I later looked the micrometer extension. LGTM with a ad-hoc test. |
So that micrometer metrics will collect metrics for the client.