I am visualizing Prometheus metrics in Grafana. Right now I am able to display current value of the query as in the image.
I want to add another column with name Throughput which shall be the current value of another Prometheus query. The queries can be combined using endpoint label.
How to achieve this?
1 Like
In case anyone else wonders, this article has a nice explanation on how to achieve that: Show multiple expressions for an instance in a Grafana table – Robust Perception | Prometheus Monitoring Experts
TL;DR
- create a Table panel, and define your queries. The key settings are that the Format should be
Table
, and the queries are Instant
.
- in Transform do an
Outer join
on the instance
label, and then Organize fields
to hide and rename columns.
3 Likes
I’ve been looking for ages to find this. Thank you so much!
I’m using this to scrape SNMP-Metrics on a HPE DL380 Server.