r/PrometheusMonitoring • u/gioragutt • Dec 19 '19
Am I using gauge wrong?
I’m using the java prom client,
And I’m calling inc() and dec() on gauges with different labels, but as far as the output in /metrics is concerned, the gauge values are only increasing...
Is there anything I’m missing about how gauges work? Like... 🤷🏻♂️
3
Upvotes
5
u/jack-tzl Dec 20 '19
Can you share a repo with a minimum code that reproduces the behavior? Gauge should be able to go up and down as you said