我正在寻找例如,如何设置预置的通知通道,它在掌舵图中的 uid https://github.com/prometheus-operator/kube-prometheus
仪表板引用了通知通道,但是添加通知通道本身的示例 yaml 是什么?
我正在寻找例如,如何设置预置的通知通道,它在掌舵图中的 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