on-internet
← Community

How to view a Gauge that is being measured by multiple instances in Prometheus

Stack Overflow ·

I've got a gauge to measure the number of unprocessed objects sitting in a queue. This queue is being polled by multiple instances, each of which records the size of the queue on each poll. The problem is visualising this information using PromQL. I want to see the size of the gauge whenever it is measured, no matter which instance measured it. If I just query the raw gauge metric I'll get a line on the graph for each instance. Is there any way to simply see the value of the gauge ignoring the instance label? I don't want to aggregate them or anything - since each instance is measuring the sam

Comments

Sign in or sign up to comment and upvote.

No comments yet.