-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathmonitor_services_dbaas_alert-definitions.json
More file actions
65 lines (65 loc) · 1.58 KB
/
monitor_services_dbaas_alert-definitions.json
File metadata and controls
65 lines (65 loc) · 1.58 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
{
"data": [
{
"id": 12345,
"label": "Test Alert for DBAAS",
"service_type": "dbaas",
"severity": 1,
"type": "user",
"description": "A test alert for dbaas service",
"scope": "entity",
"regions": [],
"entity_ids": [
"13217"
],
"entities": {
"url": "/monitor/services/dbaas/alert-definitions/12345/entities",
"count": 1,
"has_more_resources": false
},
"alert_channels": [
{
"id": 10000,
"label": "Read-Write Channel",
"type": "email",
"url": "/monitor/alert-channels/10000"
}
],
"has_more_resources": false,
"rule_criteria": {
"rules": [
{
"aggregate_function": "avg",
"dimension_filters": [
{
"dimension_label": "node_type",
"label": "Node Type",
"operator": "eq",
"value": "primary"
}
],
"label": "High CPU Usage",
"metric": "cpu_usage",
"operator": "gt",
"threshold": 90,
"unit": "percent"
}
]
},
"trigger_conditions": {
"criteria_condition": "ALL",
"evaluation_period_seconds": 300,
"polling_interval_seconds": 60,
"trigger_occurrences": 3
},
"class": "alert",
"status": "active",
"created": "2024-01-01T00:00:00",
"updated": "2024-01-01T00:00:00",
"updated_by": "tester"
}
],
"page": 1,
"pages": 1,
"results": 1
}