Generate silence url for prom alertmanager alerts
This commit is contained in:
parent
63b351771a
commit
301c3220f5
2 changed files with 8 additions and 0 deletions
|
|
@ -69,4 +69,6 @@ def test_alertmanager():
|
|||
and "webserver.example.com" in formatted
|
||||
and "Instance webserver.example.com down" in formatted
|
||||
and "critical" in formatted
|
||||
and "https://alert.example/#/silences/new?filter={alertname%3D%22InstanceDown%22}"
|
||||
in formatted
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue