Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.22k stars 1.05k forks source link

Decorate GUIDs and OIDs when exporting metrics for Graylog Prometheus Exporter, specifically for pipelines, pipeline rules, and caches #19726

Open drewmiranda-gl opened 1 week ago

drewmiranda-gl commented 1 week ago

What?

Graylog provides an incredibly useful metrics exporter.

I'm asking that the human readable names of Pipelines, Pipeline Rules, and Caches be included in the prometheus labels. Given this is requesting a "breaking change" for how prometheus will treat these (since the set of labels changing will cause the metric to no longer be the same as the historical metric) i think its a good idea to make this configurable (either in the graylog UX or via server.conf)

Why?

Some of the metrics are very difficult to work with because they do not resolve to human readable names. Resolving these by hands, at best, involves understanding which graylog web page to use and then paste the value into the address bar. At worst, these values are unresolvable.

image

Your Environment

Please let me know if there are any questions.