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.