grafana-prometheus-alertmanager-datasource icon indicating copy to clipboard operation
grafana-prometheus-alertmanager-datasource copied to clipboard

Issues with Stat Panel using Alertmanager Data Source

Open muralikanagala opened this issue 4 years ago • 6 comments

Hi All,

We are using Alertmanager data source for Stat panels to get the alert counts. The panel are setup and are working very well. But occasionally we see the counts are 0 even though we have some alerts firing. I am not finding any issues with the panel or the query when this happens. And it gets fixed by itself in sometime. So unable to reproduce it on demand. Below screenshot shows that there are some alerts firing where as the stat panel is showing the count as 0.

Any suggestions/fixes for this issue?

image

muralikanagala avatar Oct 28 '21 14:10 muralikanagala

We are experiencing the same issue. Any news on that?

thomasklinger1234 avatar Nov 29 '21 09:11 thomasklinger1234

We are facing the same issue on our grafana.

gusnakada avatar Jan 03 '22 13:01 gusnakada

That's worked for me! https://github.com/camptocamp/grafana-prometheus-alertmanager-datasource/issues/121

  1. Edit your panel and open the "Transform" tab.
  2. In value options, select "Reduce" and change the "Calculations" to "Count"
  3. Select field to count

gusnakada avatar Jan 03 '22 14:01 gusnakada

This is not helping with Grafana 8.

muralikanagala avatar Jan 12 '22 14:01 muralikanagala

With Grafana 8.4.1 and plugin in 1.0.0, I have the same error. The transformation tip seems not working in this configuration.

TDevillechabrolle avatar Mar 08 '22 15:03 TDevillechabrolle

Hello, can you give a try to the new v2.0.0 release and see if you're always experiencing this issue please?

hbollon avatar Nov 08 '23 12:11 hbollon