Graylog2 / Graylog2/graylog2-server

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

Open
#19,726 0 comments 2 reactions 0 assignees View on GitHub
feature triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## What?

Graylog provides an incredibly useful [metrics exporter](https://go2docs.graylog.org/current/interacting_with_your_log_data/metrics.html?Highlight=metrics#ExportviaPrometheusMetricExporting).

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](https://github.com/Graylog2/graylog2-server/assets/107503402/4efe12d8-1161-439d-af25-d178a4abafa8)

## Your Environment

* Graylog Version: 6.0.3
* OpenSearch Version: 2.12.0
* MongoDB Version: 6.0.15
* Operating System: Ubuntu Server 22.04 LTS
* Browser version: Google Chrome Version 126.0.6478.115 (Official Build) (arm64)

Please let me know if there are any questions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.