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 年前檢視次數 3742 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南