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

This issue has been tracked since 2023-02-15.

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

More Details About Repo
Owner Name prymitive
Repo Name karma
Full Name prymitive/karma
Language TypeScript
Created Date 2018-09-09
Updated Date 2023-03-17
Star Count 1921
Watcher Count 33
Fork Count 166
Issue Count 2

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date