-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Gauges for global publishers & consumers metrics #3136
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good! These items are missing before we can merge:
- modify
deps/rabbit/queue_type_SUITE > smoke
to check for these new metrics - modify
deps/rabbitmq_prometheus/rabbit_prometheus_http_SUITE.erl > global_metrics_present_test
to check for these new metrics - add metric to
deps/rabbitmq_prometheus/metrics.md
under GLOBAL COUNTERS
While reviewing this, I realised that we should remove the concept of publishers when using the AMQP 0.9.1 protocol as we can't really tell how many publishers there are. Channels can both consume and publish (bad idea, but some users still do this), and channels which are not subscribed to any queues doesn't necessarily mean that they are publishing channels (a.k.a. publishers).
Almost there 💪
@pjk25 is there anything that we need to do for the tests to pass? I wouldn't like to merge this before all checks are green, which includes OTP 23 & 24 tests. |
Did a quick deploy into the 3.9 LRE, looking good: The tests are failing which is a blocker, and I'm seeing this locally too:
There could be other failures, I only ran this test suite locally, but we should definitely work towards getting all above checks green. Tests passing is the only blocker at this point, everything else is done and ready to merge. I will kick off the tests, but then stopping for the week 🌄 |
7fdbae5
to
ddea2ae
Compare
It includes the Erlang/OTP version since #3143 Signed-off-by: Gerhard Lazu <[email protected]>
Gauges for global publishers & consumers metrics (cherry picked from commit 3078d05)
Backported to The |
Types of Changes
Checklist
CONTRIBUTING.md
document