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

Has there been any update regarding this? Does it make sense to create an enhancement request?

or is it resolved with https://grafana.com/blog/2020/06/15/how-we-made-working-with-prometheus-easier-with-metric-metadata-in-grafanas-explore-view/

Prometheus: Add title to metrics in the metric select with metric help text was supposedly fixed in Grafana 8.5.