forked from prometheus/cloudwatch_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.yml
201 lines (166 loc) · 5.67 KB
/
example.yml
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
196
197
198
199
200
201
---
region: eu-west-1
metrics:
- aws_namespace: AWS/ELB
aws_metric_name: HealthyHostCount
aws_dimensions: [AvailabilityZone, LoadBalancerName]
aws_statistics: [Average]
- aws_namespace: AWS/ELB
aws_metric_name: UnHealthyHostCount
aws_dimensions: [AvailabilityZone, LoadBalancerName]
aws_statistics: [Average]
- aws_namespace: AWS/ELB
aws_metric_name: RequestCount
aws_dimensions: [AvailabilityZone, LoadBalancerName]
aws_statistics: [Sum]
- aws_namespace: AWS/ELB
aws_metric_name: Latency
aws_dimensions: [AvailabilityZone, LoadBalancerName]
aws_statistics: [Average]
- aws_namespace: AWS/ELB
aws_metric_name: SurgeQueueLength
aws_dimensions: [AvailabilityZone, LoadBalancerName]
aws_statistics: [Maximum, Sum]
- aws_namespace: AWS/ElastiCache
aws_metric_name: CPUUtilization
aws_dimensions: [CacheClusterId]
aws_statistics: [Average]
- aws_namespace: AWS/ElastiCache
aws_metric_name: NetworkBytesIn
aws_dimensions: [CacheClusterId]
aws_statistics: [Average]
- aws_namespace: AWS/ElastiCache
aws_metric_name: NetworkBytesOut
aws_dimensions: [CacheClusterId]
aws_statistics: [Average]
- aws_namespace: AWS/ElastiCache
aws_metric_name: FreeableMemory
aws_dimensions: [CacheClusterId]
aws_statistics: [Average]
- aws_namespace: AWS/ElastiCache
aws_metric_name: BytesUsedForCache
aws_dimensions: [CacheClusterId]
aws_statistics: [Average]
- aws_namespace: AWS/ElastiCache
aws_metric_name: CurrConnections
aws_dimensions: [CacheClusterId]
aws_statistics: [Average]
- aws_namespace: AWS/ElastiCache
aws_metric_name: NewConnections
aws_dimensions: [CacheClusterId]
aws_statistics: [Average]
- aws_namespace: AWS/ElastiCache
aws_metric_name: CacheHits
aws_dimensions: [CacheClusterId]
aws_statistics: [Average]
- aws_namespace: AWS/ElastiCache
aws_metric_name: CacheMisses
aws_dimensions: [CacheClusterId]
aws_statistics: [Average]
- aws_namespace: AWS/ElastiCache
aws_metric_name: ReplicationLag
aws_dimensions: [CacheClusterId]
aws_statistics: [Average]
- aws_namespace: AWS/Redshift
aws_metric_name: DatabaseConnections
aws_dimensions: [ClusterIdentifier]
aws_statistics: [Average]
- aws_namespace: AWS/Redshift
aws_metric_name: HealthStatus
aws_dimensions: [ClusterIdentifier]
aws_statistics: [Average]
- aws_namespace: AWS/Redshift
aws_metric_name: MaintenanceMode
aws_dimensions: [ClusterIdentifier]
aws_statistics: [Average]
- aws_namespace: AWS/Redshift
aws_metric_name: CPUUtilization
aws_dimensions: [NodeID, ClusterIdentifier]
aws_statistics: [Average]
- aws_namespace: AWS/Redshift
aws_metric_name: PercentageDiskSpaceUsed
aws_dimensions: [NodeID, ClusterIdentifier]
aws_statistics: [Average]
- aws_namespace: AWS/Redshift
aws_metric_name: NetworkReceiveThroughput
aws_dimensions: [NodeID, ClusterIdentifier]
aws_statistics: [Average]
- aws_namespace: AWS/Redshift
aws_metric_name: NetworkTransmitThroughput
aws_dimensions: [NodeID, ClusterIdentifier]
aws_statistics: [Average]
- aws_namespace: AWS/Redshift
aws_metric_name: ReadLatency
aws_dimensions: [NodeID, ClusterIdentifier]
aws_statistics: [Average]
- aws_namespace: AWS/Redshift
aws_metric_name: ReadThroughput
aws_dimensions: [NodeID, ClusterIdentifier]
aws_statistics: [Average]
- aws_namespace: AWS/Redshift
aws_metric_name: ReadIOPS
aws_dimensions: [NodeID, ClusterIdentifier]
aws_statistics: [Average]
- aws_namespace: AWS/Redshift
aws_metric_name: WriteLatency
aws_dimensions: [NodeID, ClusterIdentifier]
aws_statistics: [Average]
- aws_namespace: AWS/Redshift
aws_metric_name: WriteThroughput
aws_dimensions: [NodeID, ClusterIdentifier]
aws_statistics: [Average]
- aws_namespace: AWS/Redshift
aws_metric_name: WriteIOPS
aws_dimensions: [NodeID, ClusterIdentifier]
aws_statistics: [Average]
# S3 Storage metrics are published to Cloudwatch 1x per day with a timestamp of midnight UTC, hence period_seconds: 86400
# Publishing does not always occur at the same time, but it will occur before the next day, hence range_seconds: 172800
- aws_namespace: AWS/S3
aws_metric_name: BucketSizeBytes
aws_dimensions: [BucketName, StorageType]
aws_statistics: [Average] # Valid statistics (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html): Average
range_seconds: 172800
period_seconds: 86400
- aws_namespace: AWS/S3
aws_metric_name: NumberOfObjects
aws_dimensions: [BucketName, StorageType]
aws_statistics: [Average] # Valid statistics (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html): Average
range_seconds: 172800
period_seconds: 86400
# For CloudFront metrics, you have to set the region to us-east-1
- aws_namespace: AWS/CloudFront
aws_metric_name: Requests
aws_statistics: [Sum]
aws_dimensions: [DistributionId, Region]
aws_dimension_select:
Region: [Global]
- aws_namespace: AWS/CloudFront
aws_metric_name: BytesDownloaded
aws_statistics: [Sum]
aws_dimensions: [DistributionId, Region]
aws_dimension_select:
Region: [Global]
- aws_namespace: AWS/CloudFront
aws_metric_name: 4xxErrorRate
aws_statistics: [Average]
aws_dimensions: [DistributionId, Region]
aws_dimension_select:
Region: [Global]
- aws_namespace: AWS/CloudFront
aws_metric_name: 5xxErrorRate
aws_statistics: [Average]
aws_dimensions: [DistributionId, Region]
aws_dimension_select:
Region: [Global]
- aws_namespace: AWS/CloudFront
aws_metric_name: BytesUploaded
aws_statistics: [Sum]
aws_dimensions: [DistributionId, Region]
aws_dimension_select:
Region: [Global]
- aws_namespace: AWS/CloudFront
aws_metric_name: TotalErrorRate
aws_statistics: [Average]
aws_dimensions: [DistributionId, Region]
aws_dimension_select:
Region: [Global]