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

demandé il y a 2 ans3742 vues
1 réponse
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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions