-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathaws-metrics.yaml
More file actions
195 lines (195 loc) · 4.91 KB
/
aws-metrics.yaml
File metadata and controls
195 lines (195 loc) · 4.91 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
metrics:
rds:
- description: Connection count
enable: true
metrics:
- name: DatabaseConnections
statistic: Sum
period: 24h
start_time: 168h # 24h * 7d
constraint:
operator: "=="
value: 0
docDB:
- description: Connection count
enable: true
metrics:
- name: DatabaseConnections
statistic: Sum
period: 24h
start_time: 168h # 24h * 7d
constraint:
operator: "=="
value: 0
elasticache:
- description: Connection count
enable: true
metrics:
- name: CurrConnections
statistic: Sum
period: 24h
start_time: 168h # 24h * 7d
constraint:
operator: "=="
value: 0
elb:
- description: Request count
enable: true
metrics:
- name: RequestCount
statistic: Sum
period: 24h
start_time: 168h # 24h * 7d
constraint:
operator: "=="
value: 0
elbv2:
- description: Request count
enable: true
metrics:
- name: RequestCount
statistic: Sum
period: 24h
start_time: 168h # 24h * 7d
constraint:
operator: "=="
value: 0
ec2:
- description: CPU utilization
enable: true
metrics:
- name: CPUUtilization
statistic: Maximum
period: 24h
start_time: 168h # 24h * 7d
constraint:
operator: "<"
value: 6
dynamodb:
- description: Provisioned read capacity units
enable: true
metrics:
- name: ConsumedReadCapacityUnits
statistic: Sum
- name: ProvisionedReadCapacityUnits
statistic: Average
period: 24h
start_time: 168h # 24h * 7d
constraint:
formula: ( ConsumedReadCapacityUnits / 7 / 86400 ) / ProvisionedReadCapacityUnits * 100
operator: "<"
value: 80
- description: Provisioned write capacity units
enable: true
metrics:
- name: ConsumedWriteCapacityUnits
statistic: Sum
- name: ProvisionedWriteCapacityUnits
statistic: Average
period: 24h
start_time: 168h # 24h * 7d
constraint:
formula: ( ConsumedWriteCapacityUnits / 7 / 86400 ) / ProvisionedWriteCapacityUnits * 100
operator: "<"
value: 80
lambda:
- description: Invocations count
enable: true
metrics:
- name: Invocations
statistic: Sum
period: 24h
start_time: 168h # 24h * 7d
constraint:
operator: "=="
value: 0
neptune:
- description: Requests gremlin/sparql
enable: true
metrics:
- name: GremlinRequestsPerSec
statistic: Sum
- name: SparqlRequestsPerSec
statistic: Sum
period: 24h
start_time: 168h # 24h * 7d
constraint:
formula: GremlinRequestsPerSec + SparqlRequestsPerSec
operator: "=="
value: 0
kinesis:
- description: Total put records
enable: true
metrics:
- name: "PutRecords.Bytes"
statistic: Sum
- name: "PutRecord.Bytes"
statistic: Sum
period: 24h
start_time: 168h # 24h * 7d
constraint:
# The go module Knetic/govaluate has a built in escaping
# https://github.com/Knetic/govaluate#escaping-characters
# [PutRecord.Bytes] will escape the parameter name
formula: "[PutRecord.Bytes] + [PutRecords.Bytes]"
operator: "=="
value: 0
redshift:
- description: Connection count
enable: true
metrics:
- name: DatabaseConnections
statistic: Sum
period: 24h
start_time: 168h # 24h * 7d
constraint:
operator: "=="
value: 0
elasticsearch:
- description: "IndexRate + SearchRate"
enable: true
metrics:
- name: IndexingRate
statistic: Sum
- name: SearchRate
statistic: Sum
period: 24h
start_time: 168h # 24h * 7d
constraint:
formula: IndexingRate + SearchRate
operator: "=="
value: 0
iamLastActivity:
- description: Last user activity
enable: true
constraint:
operator: ">="
value: 90 # 90 Days
elasticip:
- description: Not associated
enable: true
ec2_volumes:
- description: Not in used
enable: true
apigateway:
- description: API calls
enable: true
metrics:
- name: Count
statistic: Sum
period: 24h
start_time: 168h # 24h * 7d
constraint:
operator: "=="
value: 0
natgateway:
- description: Active connection count
enable: true
metrics:
- name: ActiveConnectionCount
statistic: Sum
period: 24h
start_time: 168h # 24h * 7d
constraint:
operator: "=="
value: 0