alertmanager
alertmanager copied to clipboard
FR: sort matchers on silences page
Currently matchers are not sorted on "silences" page. I ask to add sorting.
What did you do? Create 2 silences with matchers:
- instance=foo job=myjob alertname=InstanceDown
- alertname=InstanceDown instance=bar job=myjob
Go to alertmanager silences page.
What did you expect to see? Sorted matchers, like this:
- alertname=InstanceDown instance=foo job=myjob
- alertname=InstanceDown instance=bar job=myjob
What did you see instead? Under which circumstances? Unsorted matchers:
- instance=foo job=myjob alertname=InstanceDown
- alertname=InstanceDown instance=bar job=myjob
Environment
-
Alertmanager version: 0.27.0 (0aa3c2aad14cff039931923ab16b26b7481783b5)
-
Prometheus version: 2.51.2 (b4c0ab52c3e9b940ab803581ddae9b3d9a452337)
@rc5hack sounds fine to me! Can you open a PR for this?