Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Support filtering by tag #79

Open
musiKk opened this issue Feb 1, 2018 · 0 comments
Open

Support filtering by tag #79

musiKk opened this issue Feb 1, 2018 · 0 comments
Labels
feature feature Improvements, enhancements, functionality requested by users zmon-arch Relevant issues. To be tackled during architecture discussions

Comments

@musiKk
Copy link

musiKk commented Feb 1, 2018

When filtering alerts or checks via zmon alert-definitions filter some-field some-value only equality checks are performed. This makes it impossible to filter by tag as tags are a list. I guess usability-wise the least intrusive way of incorporating this feature would be to just change the logic for the tags to check if any tag matches the tag from the command line.


Initially I wanted to propose lots of other filter mechanisms but then I found out that the zmon Rest API only supports fetching all resources and filtering is done on the client-side anyway so piping the output of zmon *-definitions list --output json to jq is no worse performance-wise. Still, being able to have multiple filter, filtering case-insensitively and having things like "contains" for searching alert descriptions directly from the zmon CLI could be interesting.

@mohabusama mohabusama added the feature feature Improvements, enhancements, functionality requested by users label Jul 5, 2018
@rajatparida86 rajatparida86 added the zmon-arch Relevant issues. To be tackled during architecture discussions label Jul 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature feature Improvements, enhancements, functionality requested by users zmon-arch Relevant issues. To be tackled during architecture discussions
Projects
None yet
Development

No branches or pull requests

3 participants