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

[feature request] FilterInputLabel: show how many alerts are discarded for a negative query #5048

Open
dmke opened this issue Feb 15, 2023 · 1 comment
Assignees

Comments

@dmke
Copy link
Contributor

dmke commented Feb 15, 2023

When using negative queries like instance!=server1 or instance!~^server\d\d$, Karma currently shows the number of matching alerts:

https://demo.karma-dashboard.io/?q=%40cluster%3DHA&q=%40receiver%3Dby-cluster-service&q=instance%21~%5Eserver%5Cd%5B234%5D%5Cd%3F%24

image

It would be nice however, if the label could show the difference to the total, i.e. the number of alert which were filtered out by this query, something akin to this:

image

This becomes useful when there are many alerts filtered:

image

@prymitive prymitive self-assigned this Mar 8, 2023
@github-actions
Copy link

github-actions bot commented May 7, 2023

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

@github-actions github-actions bot added Stale and removed Stale labels May 7, 2023
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