Grafana 5: metric lookup - get value of label


I was using metric lookup in Grafana (4.3) to visualize values of labels. For example to get version of Prometheus itself.


But in Grafana 5.0, there is no Metric lookup. How should I get the value of version label in this Grafana version (Prometheus does not support returning Strings afaik).




The metric lookup field was only a field where you could search for metrics and insert into the query field. See prometheus documentation of new query editor which supports auto completion of metric names and more.

For a working solution of displaying label value in singlestat panel, see Extract labels values from prometheus metrics.


Cool, works, than you very much!