Getting the list and number of Silenced Alerts in Grafana using Alertmanager.

13 views
Skip to first unread message

Yagyansh S. Kumar

unread,
Mar 13, 2020, 8:39:41 AM3/13/20
to Prometheus Users
Is there any way to query the alertmanager and get the Silenced Alerts.
If there isn't any direct method, is there any workaround for this?

Thanks in advance.

Simon Pasquier

unread,
Mar 13, 2020, 11:51:37 AM3/13/20
to Yagyansh S. Kumar, Prometheus Users
Check the /api/v2/alerts endpoint.
You can also do "amtool alert query -s".
> --
> 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 prometheus-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6bd0d63f-2890-4afa-82e2-65537ad801f7%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages