GoogleCloudPlatform / GoogleCloudPlatform/prometheus-engine

alertmanager: support for reusable templates

Open
#473 3 comments 6 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
232
Forks
109
Avg merge
1d 3h
Merged PRs (30d)
27

Description

https://prometheus.io/docs/alerting/latest/notification_examples/#defining-reusable-templates

Please correct me if I'm wrong, but I don't see any support for defining and loading these in just yet. Reusable templates are a useful feature when configuring receivers.

It seems they could be defined in a configmap or secret in gmp-public and then the operator could take care of copying to gmp-system and volume mounting into alertmanager? I'm guessing this could be similar to how this is handled by `prometheus-operator` https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/alerting.md#using-a-kubernetes-secret

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.