How to delete Silences

27 views
Skip to first unread message

Powder Snow

unread,
Nov 26, 2020, 8:12:39 AM11/26/20
to Prometheus Users

Hi,

Is there a way to delete a silence instead of just expire it

For example I can expire a silence with "curl -XDELETE http://<host>:9093/api/v2/silence/$ALERT_ID". But how can I delete it?

Thanks

b.ca...@pobox.com

unread,
Nov 26, 2020, 8:47:13 AM11/26/20
to Prometheus Users
I think this is intentional:

I note that the API description says it deletes them:
- but maybe it ought to say that it expires them.

Powder Snow

unread,
Nov 26, 2020, 9:03:27 AM11/26/20
to Prometheus Users
Thanks.

I'll wait 5 days and see if garbage collection removes it.


> I note that the API description says it deletes them:
Yes I think it would make more sense to have it say expire
Reply all
Reply to author
Forward
0 new messages