Skip to content

Add parameter to exclude Alerts and Endpoints#8

Merged
RincewindsHat merged 2 commits intomasterfrom
feature/exclude-param
Apr 17, 2023
Merged

Add parameter to exclude Alerts and Endpoints#8
RincewindsHat merged 2 commits intomasterfrom
feature/exclude-param

Conversation

@martialblog
Copy link
Copy Markdown
Member

The idea is to have an --exclude parameter that can be used multiple times. This input will be a regular expression to be matched against the alert (transformed into a string).

I think this gives us maximum flexibility, since people might want to exclude alerts based on various content.

Fixes #6

@martialblog martialblog self-assigned this Apr 5, 2023
@martialblog martialblog added this to the v0.3.0 milestone Apr 5, 2023
@martialblog martialblog added the feature New feature or request label Apr 5, 2023
Comment thread api/alerts.go
@martialblog martialblog force-pushed the feature/exclude-param branch from 24bbb45 to 4b4ee96 Compare April 6, 2023 13:54
Comment thread README.md Outdated
@martialblog martialblog force-pushed the feature/exclude-param branch from 4b4ee96 to 34ca91f Compare April 6, 2023 14:23
The idea is to have an --exclude parameter
that can be used multiple times. This input
will be a regular expression to be matched
against the objects (transformed into a string).

Acked-by: Markus Opolka <markus.opolka@netways.de>
@martialblog martialblog force-pushed the feature/exclude-param branch from 34ca91f to d032383 Compare April 6, 2023 14:28
@martialblog martialblog changed the title Add parameter to exclude Alerts Add parameter to exclude Alerts and Endpoints Apr 6, 2023
Copy link
Copy Markdown
Member

@RincewindsHat RincewindsHat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sane enough

@RincewindsHat RincewindsHat merged commit 2258816 into master Apr 17, 2023
@RincewindsHat RincewindsHat deleted the feature/exclude-param branch April 17, 2023 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: new commandline parameter

2 participants