You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The provided sample config file is little to simple to be useful, especially for those not too familiar with YAML. Here is a more complex one that avoids duplication via YAML anchor+alias. It would be helpful to include some of this, I believe.
# Define defaults that can be referenced belowMy_Defaults:
- &ElbMetricNamespace: "AWS/ELB"Dimensions:
# You can have multiple dimensions, but boto will only return the last oneLoadBalancerName: "awseb-e-v-AWSEBLoa-ZELK76TU0GP"Auth:
region: "us-west-1"Metrics:
- <<: *ElbMetricMetricName: "RequestCount"Statistics: "Sum"Unit: "Count"# You can list additional metrics in one file. Just be careful about rate limits.
- <<: *ElbMetricMetricName: "UnHealthyHostCount"Statistics: "Maximum"Unit: "Count"# You can list additional metrics in one file. Just be careful about rate limits.
- <<: *ElbMetricMetricName: "Latency"Statistics:
- "Average"
- "Maximum"Unit: "Seconds"
- <<: *ElbMetricMetricName: "HTTPCode_ELB_5XX"Statistics: "Sum"Unit: "Count"# OPTIONAL: set defaults for all metrics in this fileOptions:
Count: 1# How many Periods to return (note: there is a max num datapoints you can get at once)Period: 5# [min], minimum 1
Thank you!
The text was updated successfully, but these errors were encountered:
The provided sample config file is little to simple to be useful, especially for those not too familiar with YAML. Here is a more complex one that avoids duplication via YAML anchor+alias. It would be helpful to include some of this, I believe.
Thank you!
The text was updated successfully, but these errors were encountered: