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

Comments

Add REMOVE_RECEIVERS option#196

Merged
prymitive merged 1 commit intocloudflare:masterfrom
luke-orden:add_REMOVE_RECEIVERS
Nov 24, 2017
Merged

Add REMOVE_RECEIVERS option#196
prymitive merged 1 commit intocloudflare:masterfrom
luke-orden:add_REMOVE_RECEIVERS

Conversation

@luke-orden
Copy link
Contributor

This option allows for all alerts for a specified receiver, or list of
receivers, to be removed from unsee.

My use case for this is using a receiver for auto-remediation which will
contain information that the user will never need to see in the UI.

Copy link
Contributor

@prymitive prymitive left a comment

Choose a reason for hiding this comment

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

Any new options should be documented under README.md#environment-variables (sorted alphabetically)

FilterDefault string `envconfig:"FILTER_DEFAULT" help:"Default filter string"`
JiraRegexp spaceSeparatedList `envconfig:"JIRA_REGEX" help:"List of JIRA regex rules"`
Port int `envconfig:"PORT" default:"8080" help:"HTTP port to listen on"`
RemoveReceivers spaceSeparatedList `envconfig:"REMOVE_RECEIVERS" help:"List of receivers to not display alerts for"`
Copy link
Contributor

@prymitive prymitive Nov 24, 2017

Choose a reason for hiding this comment

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

How about IGNORED_RECEIVERS instead of REMOVE_RECEIVERS?
Or maybe STRIP_RECEIVERS since there's already STRIP_LABELS

This option allows for all alerts for a specified receiver, or list of
receivers, to be removed from unsee.

My use case for this is using a receiver for auto-remediation which will
contain information that the user will never need to see in the UI.
@prymitive prymitive merged commit b796e0c into cloudflare:master Nov 24, 2017
@terinjokes
Copy link

In the future, you probably want to have the commit message describe the actual option added.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants