Groups
Groups
Sign in
Groups
Groups
Prometheus Users
Conversations
About
Send feedback
Help
How to delete Silences
27 views
Skip to first unread message
Powder Snow
unread,
Nov 26, 2020, 8:12:39 AM
11/26/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
11/26/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
I think this is intentional:
https://github.com/prometheus/alertmanager/issues/996
I note that the API description says it deletes them:
https://github.com/prometheus/alertmanager/blob/master/api/v2/openapi.yaml#L116-L117
- but maybe it ought to say that it expires them.
Powder Snow
unread,
Nov 26, 2020, 9:03:27 AM
11/26/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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