By using AWS re:Post, you agree to the Terms of Use

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

1

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

asked 8 months ago452 views
1 Answer
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!

SUPPORT ENGINEER
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions