-
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
Core metrics: remove backing_queue_status from the core metrics #9578
Conversation
They will not show in the HTTP API GET /api/queues, but are still available whenever the queue info is requested through the rabbit_amqqueue API
c071f72
to
0f7de92
Compare
Core metrics: remove backing_queue_status from the core metrics (backport #9578)
I wonder how the mgmt UI queries individual queue info (on the single queue page)? As it gets the displayed "queue storage version" from the backing_queue_status field. (https://github.com/rabbitmq/rabbitmq-server/blob/main/deps/rabbitmq_management/priv/www/js/formatters.js#L198) |
Thanks for the heads up @gomoripeti, that one is going to be reintroduced as a top-level key. |
Hello, I am trying to implement drain time measurement fot Rabbitmq queues. I there any way how to obtain backing_queue_status now? How i can access mentioned "rabbit_amqqueue API" |
@H4rry12 you can obtain a queue's ingress and egress rates without using this leaked (and now removed) implementation detail. That's how management UI is still able to provide them, it does not use any internal or hidden API endpoints. Start with |
@michaelklishin on the commit message is said that we can still get these |
The metrics removed here are implementation details. They are not supposed to be used. In fact, when CQv1 are removed completely (most likely in 4.1), they won't be available. |
Node metrics are not consumed using messaging protocol libraries. See Monitoring. |
They will not show in the HTTP API
GET /api/queues
, but are still available whenever the queue info is requested through the rabbit_amqqueue API.GET /api/queues is widely used and abused without pagination and often to retrieve just a single metric. This change will considerable reduce the size of the JSON response when querying 10s or 100s of queues, and it should not impact the operation of the system as
backing_queue_status
is an internal metric on which no monitoring tool should rely on.References #9437
Types of Changes
Checklist
CONTRIBUTING.md
document