如何在 kube-prometheus-stack 中添加 Grafana 的配置通知通道?
How to add Grafana's provisioned notification channel in kube-prometheus-stack?
例如,我正在寻找如何设置预配的通知通道及其在 helm 图表中的 uid https://github.com/prometheus-operator/kube-prometheus
仪表板引用了通知渠道,但添加通知渠道本身的示例 yaml 是什么?
示例 YAML 文件:https://github.com/grafana/grafana/blob/main/conf/provisioning/notifiers/sample.yaml
如果您正在使用 HELM 图表,您可以从 values.yaml
配置相同的图表
notifiers: {}
# notifiers.yaml:
# notifiers:
# - name: email-notifier
# type: email
# uid: email1
# # either:
# org_id: 1
# # or
# org_name: Main Org.
# is_default: true
# settings:
# addresses: an_email_address@example.com
# delete_notifiers:
文档:https://grafana.com/docs/grafana/latest/administration/provisioning/#alert-notification-channels
提交详细信息:https://github.com/devnulled/charts/commit/24f03dafab2f05f01f6316ba78f9de04adb02f3b
例如,我正在寻找如何设置预配的通知通道及其在 helm 图表中的 uid https://github.com/prometheus-operator/kube-prometheus
仪表板引用了通知渠道,但添加通知渠道本身的示例 yaml 是什么?
示例 YAML 文件:https://github.com/grafana/grafana/blob/main/conf/provisioning/notifiers/sample.yaml
如果您正在使用 HELM 图表,您可以从 values.yaml
配置相同的图表notifiers: {}
# notifiers.yaml:
# notifiers:
# - name: email-notifier
# type: email
# uid: email1
# # either:
# org_id: 1
# # or
# org_name: Main Org.
# is_default: true
# settings:
# addresses: an_email_address@example.com
# delete_notifiers:
文档:https://grafana.com/docs/grafana/latest/administration/provisioning/#alert-notification-channels
提交详细信息:https://github.com/devnulled/charts/commit/24f03dafab2f05f01f6316ba78f9de04adb02f3b