You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A caveat we should definitely consider in this request is how we can represent string labels as metrics.
Most of the metrics aggregation systems work great with numerical values, but with string values things start getting complex. For instance, Prometheus supports count, histogram, gauge, and summary type of metrics (https://prometheus.io/docs/concepts/metric_types/).
One approach can be encode strings as numerical values, like RUNNING state maps to 1, SUSPENDED maps to 2, etc.
@ashwintumma23 AFAIK this is not an issue for Prometheus.
A sample implementation could rely on a Prometheus gauge metric that have two possible values: 0 or 1 and leverage "dimensions" (Prometheus labels) to store the different states RUNNING, SUSPENDED, etc as strings and the also a separate label for the supervisor id/name. (https://prometheus.io/docs/concepts/data_model/)
The value 1 correspond to the current/active state of any given supervisor.
Description
Currently, there is no way of monitoring the state of supervisors' health via monitoring metrics.
I would like to request a metric (or set of metrics) to report the following:
RUNNING
,SUSPENDED
, etc ... (List of possible states)Motivation
The text was updated successfully, but these errors were encountered: