Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I plot multiple statistics for one metric on the same axis in a Cloudwatch Dashboard?

I want to look at the min, max, and average statistics for each time interval for a particular custom metric. In this case it's the size of each file my system is ingesting. Currently I can do this in a CloudWatch Dashboard with three separate widgets, one for each statistic:

enter image description here

I'd really prefer to have at least two curves on the same axis. I know how to put two different curves on one widget, but that only appears to support having two different metrics, with the same aggregation function applied.

Interestingly, in the Lambda monitoring view, AWS provides just such a plot for Invocation Duration: enter image description here

like image 631
Jay Carlton Avatar asked Dec 09 '15 14:12

Jay Carlton


People also ask

Can a user show more than one CloudWatch metric on a single graph?

You can add a math expression to a graph on your CloudWatch dashboard. Each graph is limited to using a maximum of 500 metrics and expressions, so you can add a math expression only if the graph has 499 or fewer metrics. This applies even if not all the metrics are displayed on the graph.

What statistics can you view and graph in CloudWatch?

Q: What statistics can I view and graph in CloudWatch? You can retrieve, graph, and set alarms on the following statistical values for Amazon CloudWatch metrics: Average, Sum, Minimum, Maximum, and Sample Count. Statistics can be computed for any time periods between 60 seconds and one day.

Which of the following distinguishes two CloudWatch metrics that are in the same namespace?

The key to distinguishing between Metrics with the same Name are Dimensions: A dimension is a name/value pair that is part of the identity of a metric.


1 Answers

Under Actions column, there is a button to Duplicate a metric. Just click on it, it'll add the a copy of that metric to same graph. Then you can tweak Statistic for this copy. E.g. below I have min, max and avg of CPUUtilization.

enter image description here

like image 194
Kashyap Avatar answered Nov 11 '22 01:11

Kashyap