Skip to content

Receiver\integration specific templates#351

Draft
yuri-tceretian wants to merge 7 commits intomainfrom
yuri-tceretian/template-selectors
Draft

Receiver\integration specific templates#351
yuri-tceretian wants to merge 7 commits intomainfrom
yuri-tceretian/template-selectors

Conversation

@yuri-tceretian
Copy link
Collaborator

This PR proposes a more granular control over the templates for each receiver\integrations. The approach based on label matchers approach that is very common in alerting:

  • Receiver definition is extended with supporting LabelSet.
  • TempalateDefinition is extended with labels.Matchers
  • Template factory is updated to select templates based on labels
  • Receiver builder is updated to create template per integration. This allowed providing additional label to template factory "integrationType", which provides ability to pick template specific to a integration of a specific template kind.

Also, by adding specific labels to receivers we can merge many Mimir configurations into a single Alertmanager providing isolation for receivers and templates.

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

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

1 participant

Comments