Hello People,

l want to count number of firing alerts for a given time period.
I am using alertmanager in HA .

I used below query to count the alerts 

ALERTS{alertname!="DeadMansSwitch",alertstate='firing'} 

I see that with this query one alert comes up multiple times i.e like the 
same alert comes up after an interval of 1 min . Just wanted to know why 
de-duplication is not happening in alertmanager.

Please suggest a better query.

-- 
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/748ef731-c47f-469b-813a-eff477ae23d0%40googlegroups.com.

Reply via email to