Skip to content

Commit 5f74b35

Browse files
committed
explain the go template of alert manager
1 parent 11ab4bc commit 5f74b35

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docs/enterprise/trigger/quick-start.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ Annotations:
7575
{{ end }}
7676
```
7777

78+
Generating a Slack message using the above template will iterate over all alerts
79+
and display the labels and annotations for each alert.
80+
7881
Start Alertmanager once the configuration is ready.
7982

8083

i18n/zh/docusaurus-plugin-content-docs/current/enterprise/trigger/quick-start.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ Annotations:
7474
{{ end }}
7575
```
7676

77+
使用上述模板生成 slack 消息会遍历所有的告警,并把每个告警的标签和注解展示出来。
78+
7779
当配置完成之后,启动 Alertmanager。
7880

7981
## 创建 Trigger

0 commit comments

Comments
 (0)