-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Add RabbitMQ cluster and running nodes count and running node status #3703
Add RabbitMQ cluster and running nodes count and running node status #3703
Conversation
Partially covers #3252 to add a |
6b5d34c
to
d9b0cd2
Compare
…ds to the "rabbitmq_overview" measurement; add "running" field to the "rabbitmq_node" measurement
d9b0cd2
to
de790f5
Compare
plugins/inputs/rabbitmq/README.md
Outdated
@@ -61,6 +61,8 @@ For additional details reference the [RabbitMQ Management HTTP Stats](https://cd | |||
- messages_ready (int, messages) | |||
- messages_unacked (int, messages) | |||
- queues (int, queues) | |||
- cluster_nodes (int, member nodes) | |||
- running_nodes (int, nodes up) |
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.
All the other metrics are noun_adjective, these new ones are adjective_noun
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.
Good point, then I propose
cluster_nodes => nodes_member
running_nodes => nodes_running
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.
How about clustering_listeners
and amqp_listeners
?
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.
That would be 100% accurate. Agreed, let the user decide the practical meaning of those metrics then.
running
field to therabbitmq_node
measurement directly mapped to therunning
flag from the output of/api/nodes
clustering_listeners
to therabbitmq_overview
measurement as the total count of listeners of protocolclustering
from the output of/api/overview
amqp_listeners
to therabbitmq_overview
measurement as the total count of listeners of protocolamqp
from the output of/api/overview
Required for all PRs: