-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalert-manager-config.yml
More file actions
26 lines (25 loc) · 891 Bytes
/
alert-manager-config.yml
File metadata and controls
26 lines (25 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
alert_pipelines:
- alert_name: NOOP_ALERT
enrichments:
- step_name: ENRICHMENT_STEP_1
enrichment_name: UPPER_CASE
enrichment_args: arg1,arg2
- step_name: ENRICHMENT_STEP_2
enrichment_name: GetPromQL
enrichment_args: "http://localhost:9090/api/v1/query?query=sum%28rate%28node_cpu_seconds_total%5B1m%5D%29%29&time=1719778255.812"
actions:
- step_name: ACTION_STEP_1
action_name: NOOP_ACTION
action_args: ARG1,ARG2
- step_name: ACTION_STEP_1
action_name: SendToSlack
action_args: "https://hooks.slack.com/services/WEBHOOK_SECRET"
- alert_name: KubePodCrashLooping
enrichments:
- step_name: ENRICHMENT_STEP_1
enrichment_name: GET_DATA
enrichment_args: "promql"
actions:
- step_name: ACTION_STEP_1
action_name: NotifySLack
action_args: "url"