Skip to content

Commit e029f4a

Browse files
EZ4BRUCExzxiong
authored andcommitted
feat(): add cluster detail in alert meassage and label (#174)
## What type of PR is this? * [x] Feature * [ ] BUG * [ ] Alerts * [ ] Improvement * [ ] Documentation * [ ] Test and CI ## Which issue(s) this PR related: issue # matrixorigin/MO-Cloud#1896 ## What this PR does / why we need it: 1. 修改 alertmanager webhook adatper 的模版信息,传入集群 provider、type 2. 为 prometheus 告警添加额外的 label(集群信息)
1 parent ad3381d commit e029f4a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

charts/mo-ob-opensource/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,9 @@ kube-prometheus-stack:
261261

262262
prometheus:
263263
prometheusSpec:
264+
externalLabels:
265+
# cluster provider
266+
clusterDetail: aliyun-new-dev-controlplane
264267
logLevel: debug
265268
ruleSelectorNilUsesHelmValues: false
266269
serviceMonitorSelectorNilUsesHelmValues: false

0 commit comments

Comments
 (0)