Hi all,

I have a two-node cluster that I'm trying to monitor.

We send a custom metric on individual nodes
# HELP platform_uptime_state  Overall platform status is 1 when up, 0 
otherwise
# TYPE platform_uptime_state gauge
platform_uptime_state 1

The cluster is expected to be UP when at least one of the nodes has 
platform_uptime_state set to 1.

I need to calculate the cluster uptime percent since the cluster was 
started, but I'm not able to formulate a query.



Any help is appreciated!

TIA,
Shubham



-- 
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/66466c99-6b1f-4a77-9ba2-b93a58bf6969n%40googlegroups.com.

Reply via email to