Skip to content
Discussion options

You must be logged in to vote

This works expected.

When you query all queues or all connections or other "all things" endpoints, the node that handles the request aggregates the results from its peers and returns them to the client. There is a certain timeout involved. If one node is disconnected without being shut down, all requests to it from its peers will block until they time out.

Monitoring using GET /api/queues, GET /api/connections and in late 2022, using HTTP API queries at all is wrong. It is very common to see people use those endpoints to get a single field from a single object. That's really wasteful, as most of the metrics returned are not used at all.

This problem is not present in the Prometheus endpoint

Replies: 1 comment 24 replies

Comment options

You must be logged in to vote
24 replies
@fare1990
Comment options

@kjnilsson
Comment options

@fare1990
Comment options

@fare1990
Comment options

@kjnilsson
Comment options

Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #6047 on October 07, 2022 16:18.