layoaster commented on issue #17526:
URL: https://github.com/apache/druid/issues/17526#issuecomment-2513374732

   @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. 
(https://prometheus.io/docs/concepts/data_model/)
   
   The value 1 correspond to the current/active state of any given supervisor.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to