Hi,

I am new to PRmetheus.
I wrote a bash script that retuns either "1" or "0", and using pushgateway 
created a metric in prometheus for it.

In Prmehteus UI I can see the meteic's value as expected:


In Grafana however if I pick "stats" or "gauge" visualization I get a 
number with a decimal point (e.g: 0.245)

What is the correct way to show the value as either 1 or 0 in Grafana ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/71b6439f-c698-4e86-a258-1af92704512cn%40googlegroups.com.

Reply via email to