-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalert-sample.json5
More file actions
85 lines (85 loc) · 2.87 KB
/
alert-sample.json5
File metadata and controls
85 lines (85 loc) · 2.87 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// Shorter variant of alert-sample.json5 with single alert see in alert-sample.small.json5
{
"receiver": "jira-data",
"status": "firing",
"alerts": [
{
"status": "firing",
"labels": {
"alertname": "DataTest1",
"code": "200",
"global_label_1": "1",
"instance": "localhost:9090",
"jira__field__priority": "High",
"jira__issue_type_name": "Alert",
"jira__project_key": "DATA",
"job": "prometheus",
"qaz1_label": "qaz1_label_value",
"severity": "warning"
},
"annotations": {
"description": "Some description QAZ2\nof DataTest1 alert\n",
"jira__field__assignee": "plalexeev",
"qaz1_annotation": "qaz1_annotation_value",
"qaz2_annotation": "qaz2_annotation_value",
"summary": "DataTest1 summary"
},
"startsAt": "2023-11-05T23:05:29.64Z",
"endsAt": "0001-01-01T00:00:00Z",
"generatorURL": "http://89cffcee4bdb:9090/graph?g0.expr=promhttp_metric_handler_requests_total+%3E+1&g0.tab=1",
"fingerprint": "8aef3605f4c03182"
},
{
"status": "firing",
"labels": {
"alertname": "DataTest0",
"code": "200",
"global_label_1": "2",
"instance": "localhost:9090",
"jira__field__priority": "High",
"jira__issue_type_name": "Alert",
"jira__project_key": "DATA",
"job": "prometheus",
"qaz1_label": "qaz1_label_value",
"qaz2_label": "qaz2_label_value",
"severity": "warning"
},
"annotations": {
"description": "Some description QAZ2\nof DataTest0 alert\nVALUE: 3\n",
"jira__field__assignee": "plalexeev",
"jira__field__component_s": "DQ-issues+alerts, DevOps+infrastructure",
"jira__field__labels": "label_one, labelTwo, label:three, ${context.alert.params.jira__field__assignee}",
"jira__issue_type_name": "Alert",
"jira__project_key": "DATA",
"qaz1_annotation": "qaz1_annotation_value",
"summary": "DataTest0 summary",
"value": "3"
},
"startsAt": "2023-11-05T23:05:29.64Z",
"endsAt": "0001-01-01T00:00:00Z",
"generatorURL": "http://89cffcee4bdb:9090/graph?g0.expr=promhttp_metric_handler_requests_total+%3E+1&g0.tab=1",
"fingerprint": "97584ea0f197fa9a"
}
],
"groupLabels": {
"instance": "localhost:9090"
},
"commonLabels": {
"code": "200",
"instance": "localhost:9090",
"jira__field__priority": "High",
"jira__issue_type_name": "Alert",
"jira__project_key": "DATA",
"job": "prometheus",
"qaz1_label": "qaz1_label_value",
"severity": "warning"
},
"commonAnnotations": {
"jira__field__assignee": "plalexeev",
"qaz1_annotation": "qaz1_annotation_value"
},
"externalURL": "http://f856ff453070:9093",
"version": "4",
"groupKey": "{}:{instance=\"localhost:9090\"}",
"truncatedAlerts": 0
}