Show values from multiple queries in a table panel

Good day,

I have the follow metrics in Prometheus:

pods_desired{deployment="foo"} 1
pods_desired{deployment="bar"} 1
pods_available{deployment="foo"} 1
pods_available{deployment="bar"} 1

I would like them to be displayed in Grafana Table panel as follows:

Deployment Name    Available     Desired
foo                1             1
bar                1             1

and I’m struggling on how to do it. Any ideas?



Please search for similar posts before creating new posts.

This feels like a duplicate of How to correlate kube_pod_info and kube_pod_status_phase