Skip to content

Label Values Not Work

Grafana v11

Background

Filter(exported_namespace) is not work with old prometheus in grafana 11.

txt
label_values(kube_pod_info{exported_namespace="$namespace"},exported_pod)

INFO

Hello, and thank you for letting us know! Please see this change in Grafana v11. We request that all Prometheus users set their Prometheus type and version in the data source configuration. When users do not set a type and version, we default to support the label_values enpoint with the match[] param. If the Prometheus version does not support this, we use the series endpoint for label values. Older Prometheus versions do not support the match[] param with the label_values endpoint.

References