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

silenceForm.strip.labels doesn't strip labels that are in the filter bar #5817

Closed
heapdavid opened this issue Mar 7, 2024 · 0 comments · Fixed by #5818
Closed

silenceForm.strip.labels doesn't strip labels that are in the filter bar #5817

heapdavid opened this issue Mar 7, 2024 · 0 comments · Fixed by #5818
Assignees
Labels
bug Something isn't working

Comments

@heapdavid
Copy link

Hi,

We have set as part of our config:

filters:
  default:
    - 'team!=commercial'
...
silenceForm:
  strip:
    labels:
      - team

So we don't see long-running alerts for our commercial team.

But every time we go to make a new silence (from the main bell on the top right, not the top of an alert) we have to remove/edit a label entry for team:

image

We'd expect this label to be stripped from the new silence form by the config.

@prymitive prymitive self-assigned this Mar 7, 2024
@prymitive prymitive added the bug Something isn't working label Mar 7, 2024
prymitive added a commit that referenced this issue Mar 7, 2024
prymitive added a commit that referenced this issue Mar 8, 2024
prymitive added a commit that referenced this issue Mar 8, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants