Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: sort matchers on silences page #3834

Open
rc5hack opened this issue May 2, 2024 · 1 comment
Open

FR: sort matchers on silences page #3834

rc5hack opened this issue May 2, 2024 · 1 comment

Comments

@rc5hack
Copy link

rc5hack commented May 2, 2024

Currently matchers are not sorted on "silences" page. I ask to add sorting.

What did you do?
Create 2 silences with matchers:

  1. instance=foo job=myjob alertname=InstanceDown
  2. alertname=InstanceDown instance=bar job=myjob

Go to alertmanager silences page.

What did you expect to see?
Sorted matchers, like this:

  1. alertname=InstanceDown instance=foo job=myjob
  2. alertname=InstanceDown instance=bar job=myjob

What did you see instead? Under which circumstances?
Unsorted matchers:

  1. instance=foo job=myjob alertname=InstanceDown
  2. alertname=InstanceDown instance=bar job=myjob

Environment

  • Alertmanager version:
    0.27.0 (0aa3c2a)

  • Prometheus version:
    2.51.2 (b4c0ab52c3e9b940ab803581ddae9b3d9a452337)

@grobinson-grafana
Copy link
Contributor

@rc5hack sounds fine to me! Can you open a PR for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants