File tree Expand file tree Collapse file tree 1 file changed +42
-41
lines changed Expand file tree Collapse file tree 1 file changed +42
-41
lines changed Original file line number Diff line number Diff line change 1
1
# https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html
2
2
# https://aws.amazon.com/premiumsupport/knowledge-center/cloudwatch-getmetricdata-api/
3
- MetricDataQueries :
4
- - Id : m1
5
- MetricStat :
6
- Metric :
7
- Namespace : AWS/EC2
8
- MetricName : CPUUtilization
9
- Dimensions :
10
- - Name : AutoScalingGroupName
11
- Value : eks-prod-01-apps-01-aeg
12
- Stat : Average
13
- - Id : m2
14
- MetricStat :
15
- Metric :
16
- Namespace : AWS/DynamoDB
17
- MetricName : ProvisionedWriteCapacityUnits
18
- Dimensions :
19
- - Name : TableName
20
- Value : Player
21
- Stat : Maximum
22
- - Id : m3
23
- MetricStat :
24
- Metric :
25
- Namespace : AWS/NATGateway
26
- MetricName : PacketsOutToSource
27
- Dimensions :
28
- - Name : NatGatewayId
29
- Value : nat-024c041c6e5cf5d20
30
- Stat : SampleCount
31
- - Id : m4
32
- MetricStat :
33
- Metric :
34
- Namespace : AWS/WAFV2
35
- MetricName : AllowedRequests
36
- Dimensions :
37
- - Name : Region
38
- Value : eu-west-1
39
- - Name : Rule
40
- Value : CloudFrontCustomHeader
41
- - Name : RuleGroup
42
- Value : CheckCloudFrontCustomHeader
43
- Stat : Sum
3
+ # Metrics Queries Examples
4
+ # MetricDataQueries:
5
+ # - Id: m1
6
+ # MetricStat:
7
+ # Metric:
8
+ # Namespace: AWS/EC2
9
+ # MetricName: CPUUtilization
10
+ # Dimensions:
11
+ # - Name: AutoScalingGroupName
12
+ # Value: eks-prod-01-apps-01-aeg
13
+ # Stat: Average
14
+ # - Id: m2
15
+ # MetricStat:
16
+ # Metric:
17
+ # Namespace: AWS/DynamoDB
18
+ # MetricName: ProvisionedWriteCapacityUnits
19
+ # Dimensions:
20
+ # - Name: TableName
21
+ # Value: Player
22
+ # Stat: Maximum
23
+ # - Id: m3
24
+ # MetricStat:
25
+ # Metric:
26
+ # Namespace: AWS/NATGateway
27
+ # MetricName: PacketsOutToSource
28
+ # Dimensions:
29
+ # - Name: NatGatewayId
30
+ # Value: nat-024c041c6e5cf5d20
31
+ # Stat: SampleCount
32
+ # - Id: m4
33
+ # MetricStat:
34
+ # Metric:
35
+ # Namespace: AWS/WAFV2
36
+ # MetricName: AllowedRequests
37
+ # Dimensions:
38
+ # - Name: Region
39
+ # Value: eu-west-1
40
+ # - Name: Rule
41
+ # Value: CloudFrontCustomHeader
42
+ # - Name: RuleGroup
43
+ # Value: CheckCloudFrontCustomHeader
44
+ # Stat: Sum
You can’t perform that action at this time.
0 commit comments