Prometheus Alertmanager - how to list silences using REST?

2.2k Views Asked by At

What is the REST API request to list all the silences on a Prometheus's Alertmanager? this isn't documented anywhere except for the code.

1

There are 1 best solutions below

1
On

I've dug through the code - here's the request that's used to get all the silences, as of version 0.5.0:

curl localhost:9093/api/v1/silences -X GET