Thank you for your responses. Regards, Jeivardan V
On Friday, September 4, 2020 at 4:36:38 PM UTC+5:30 [email protected] wrote: > You can monitor anything that can be represented as a float64 numeric > value. The meaning and units of those metrics is up to you - whether it be > Volts or N/m^2 or whatever. > > For enums it's conventional to have a separate timeseries for each choice: > > mymetric{state="foo"} 0 > mymetric{state="bar"} 1 > mymetric{state="baz"} 0 > mymetric{state="qux"} 0 > > You could instead have a single timeseries with different numeric values > for each enum choice - and some tools like Grafana support mapping of those > values to text labels - but it's generally less convenient. > > Prometheus can generate alerts from alerting rules, which are basically > PromQL expressions which are evaluated at repeated intervals and raise an > alert if a non-empty set of timeseries is returned. These are delivered to > a separate AlertManager component which groups and delivers alerts. > -- 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/485e390b-d7bb-4ffe-97b2-3aa696da4d18n%40googlegroups.com.

