amazon-cloudwatch-user-guide icon indicating copy to clipboard operation
amazon-cloudwatch-user-guide copied to clipboard

Better documentation for aggregation_dimensions

Open kevinburke1 opened this issue 6 years ago • 1 comments

If I omit the "aggregation_dimensions" key, Cloudwatch publishes metrics using the "host" as an aggregation key and the hostname as the value. I would like to roll up on AutoScalingGroup and on the "host" key.

However, when I add any values to "aggregation_dimensions" Cloudwatch stops publishing using the "host" rollup. I tried doing:

"aggregation_dimensions": [["AutoScalingGroupName"], ["host"]]

as well as an empty array ([[]]) but did not see any "host" results when I used either technique.

Do you have tips for how I can publish metrics that are aggregated by hostname?

kevinburke1 avatar Feb 12 '20 21:02 kevinburke1

Closing this issue or pull request in advance of archiving this repo. For more information about the decision to archive this repo (and others in the 'awsdocs' org), see the announcement on the AWS News Blog.

joshbean avatar Jun 15 '23 22:06 joshbean