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

Manage customization of Alertmanager configuration #2467

Open
alexandre-allard opened this issue Apr 24, 2020 · 0 comments
Open

Manage customization of Alertmanager configuration #2467

alexandre-allard opened this issue Apr 24, 2020 · 0 comments
Labels
kind:enhancement New feature or request topic:monitoring Everything related to monitoring of services in a running cluster

Comments

@alexandre-allard
Copy link
Contributor

Component: monitoring, salt

Why this is needed:
To manage the customization of Alertmanager configuration in a single place (Salt) and then expose it through CLI and UI to the user, so he can edit configuration to add receivers of inhibition rules.

What should be done:
Develop a Salt module exposing methods to show and edit Alertmanager configuration.

Implementation proposal (strongly recommended):
We will use the already existing metalk8s-alertmanager-config
ConfigMap to store the Alertmanager configuration
customizations.

A Salt module will be developed to manipulate this object, so the logic
can be kept in only one place.

This module must provide necessary methods to show or edit the configuration
in 2 different ways:

  • simple
  • advanced

The simple mode will only display and allow to change some specific
configuration, such as the receivers or the inhibit rules, and in an as
simple as possible manner for the user.

The advanced mode will allow to change all the configuration points,
exposing the whole configuration as a plain YAML.

This module should also ensure that the passed configuration is valid.

Test plan:

@alexandre-allard alexandre-allard added kind:enhancement New feature or request topic:monitoring Everything related to monitoring of services in a running cluster labels Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:enhancement New feature or request topic:monitoring Everything related to monitoring of services in a running cluster
Projects
None yet
Development

No branches or pull requests

1 participant