How to extract label values from Prometheus metrics in Grafana
Prometheus metrics are usually visualized as numeric values on a graph, with the metrics categorized by labels. But what do you do when the numerical value doesn’t matter, and all of the information is in the labels? In that case, you might need to visualize the labels themselves. This scenario can arise because you’re not always in control of how the metrics get reported, but you do often need to visualize what’s there.