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
Expose resource alarms as Prometheus metrics #2653
Comments
Good idea. |
I can write a collector that calls rabbit_alarm:get_alarms and exposes alarms as metrics with nodes as labels. Is this what you had in mind? |
this is how one of the unofficial exporters handles alarms: |
That sounds like a great idea @deadtrickster! This comment from a larger 2019 discussion with @brian-brazil explains why node labels should not be used. Has this recommendation changed? This is the reason why we make extensive use of I'm thinking:
By the way: Lines 24 to 29 in a1561ff
|
ok right, instance label is enough already. so boolean metrics for each resource type without any labels. |
Anything else worth importing from the unofficial exporter? |
In our setup we also use the There is another issue open for that though #2508 |
Alarms could make it into a core metrics table as binary entries and be reported by Prometheus.
CC @MarcialRosales
The text was updated successfully, but these errors were encountered: