How do I get a Cloudwatch bar chart to group by period?

2

Making line charts and stacked area charts for a single metric using Sum with a Period of 7 Days. But when I change the graph type to Bar it just sums all the data into a single bar with no regard to the chosen period. How do I make a bar chart that works as expected?

Stacked area: https://paste.pics/FW0V0

Bar: https://paste.pics/FW0V7

已提问 2 年前3893 查看次数
1 回答
0

Hi, and thank you for reaching out!

Currently, bar charts graphed in CloudWatch Metrics cannot display data over time broken up by the specified period. The Bar chart option is intended to graph data categorically as opposed to chronologically. As a result, specifying the Bar chart option for a metric will aggregate all the data within the specified time range in to a single bar per metric. In order to view metric data as a time-ordered graph, you will need to use the Line or Stacked Area options at this time.

I can confirm that there is an open feature request to allow for a time ordered histogram when graphing metrics. While I am unable to comment on if/when this feature may get released, you can keep an eye on our What's New and Blog pages for any new feature announcements!

AWS
支持工程师
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则