forked from kradalby/alertmanager-discord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpayload_example.json
60 lines (60 loc) · 1.86 KB
/
payload_example.json
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"receiver": "admins-critical",
"status": "firing",
"alerts": [
{
"status": "firing",
"labels": {
"alertname": "node_down",
"env": "prod",
"instance": "testhost.local:9100",
"job": "node",
"monitor": "prometheus",
"severity": "critical"
},
"annotations": {
"description": "testhost.local:9100 of job node has been down for more than 5 minutes.",
"summary": "Instance testhost.local:9100 down"
},
"startsAt": "2016-04-21T20:14:37.698Z",
"endsAt": "2016-04-21T20:15:37.698Z",
"generatorURL": "https://monitoring.promehteus.local/graph#%5B%7B%22expr%22%3A%22up%20%3D%3D%200%22%2C%22tab%22%3A0%7D%5D"
},
{
"status": "firing",
"labels": {
"alertname": "node_down",
"env": "prod",
"instance": "testhost.local:9100",
"job": "node",
"monitor": "prometheus",
"severity": "critical"
},
"annotations": {
"description": "testhost.local:9100 of job node has been down for more than 5 minutes.",
"summary": "Instance testhost.local:9100 down"
},
"startsAt": "2016-04-21T20:14:37.698Z",
"endsAt": "2016-04-21T20:15:37.698Z",
"generatorURL": "https://monitoring.promehteus.local/graph#%5B%7B%22expr%22%3A%22up%20%3D%3D%200%22%2C%22tab%22%3A0%7D%5D"
}
],
"groupLabels": {
"alertname": "node_down",
"instance": "testhost.local:9100"
},
"commonLabels": {
"alertname": "node_down",
"env": "prod",
"instance": "testhost.local:9100",
"job": "node",
"monitor": "prometheus",
"severity": "critical"
},
"commonAnnotations": {
"description": "testhost.local:9100 of job node has been down for more than 5 minutes.",
"summary": "Instance testhost.local:9100 down"
},
"externalURL": "https://am.promehteus.local",
"version": "3"
}