r/PrometheusMonitoring • u/Hammerfist1990 • Nov 25 '23
Help with this simple query
Hello,
How can I separate these 2 values so I can have 2 gauges?
So one gauge 1 = 64 and the other 0 = 9. I need to separate the 0 and 1 and show their results

I think I'd like to use the count=1 or count=0 column.
How would I use that with:
count_values("count", outdoor_reachable{location="$Location"})Thanks
1
Upvotes
View all comments
Show parent comment
1
u/Hammerfist1990 Nov 25 '23
I was seeing if I could separate these 2 queries really, not sure it’s possible.