Our software has a single state value indicating if the system is running,
starting, stopping, or stopped (but the software is still actually running).
I would like to record this as a metric and I can't decide if recording a
mapping to key values (my_label = stopped=0, starting=1, ...) is better, or
one meta-metric for each state my_label_info{state="starting} etc.

In our visualisation dashboard (Grafana) I will want to be able to:
- show how many systems are in each state
- show the state of a single system in a per-system dashboard.

Is there an obvious answer to this or are there arguments for each?

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/CAGJRanjN4YTA1OTKX8AbSVDK%2BSwpX98x0mFhLyG5CkNOsSa%3D5g%40mail.gmail.com.

Reply via email to