forked from crccheck/cloudwatch-to-graphite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml.example
32 lines (31 loc) · 965 Bytes
/
config.yaml.example
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
# Sample config.yaml
# If connecting to a different region other than default, set region
Auth:
region: "us-west-2"
Metrics:
- Namespace: "AWS/ELB"
MetricName: "RequestCount"
Statistics: "Sum"
Unit: "Count"
Dimensions:
# You can have multiple dimensions, but boto will only return the last one
LoadBalancerName: "my-load-balancer"
# You can list additional metrics in one file. Just be careful about rate limits.
- Namespace: "AWS/EC2"
MetricName: "CPUUtilization"
# You can have multiple statistics too
Statistics:
- "Maximum"
- "Average"
Unit: "Percent"
Dimensions:
InstanceId: "i-r0b0t"
# OPTIONAL: custom options just for this metric
Options:
# Set this to customize your Graphite metric names
Formatter: 'cloudwatch.%(Namespace)s.%(dimension)s.%(MetricName)s.%(statistic)s.%(Unit)s'
# EC2 defaults to 5 minute reports
Period: 5
# OPTIONAL: set defaults for all metrics in this file
Options:
Count: 10