Use Prometheus HELP text in panel description or metric legend

Is there anyway to make use of the prometheus help text associated with a metric in the “panel description” or the metrics “Legend”

1 Like

The HELP text in Prometheus’ exposition format was invented with the intent of creating functionality later.

Prometheus recently added an query API endpoint to retrieve this information:
https://prometheus.io/docs/prometheus/latest/querying/api/#querying-target-metadata

Grafana’s Prometheus plugin currently does not use this API call so the metadata is not available in Grafana.

1 Like

Would be nice to have this. Helpful in building dashboards, etc. Particularly for passing through “_info” style metrics. https://www.robustperception.io/exposing-the-software-version-to-prometheus