How can I get the aggregate of two CloudWatch metrics in one metric?

I want to get the average of the input and output network metric as a single metric from Amazon CloudWatch. Is there a way to achieve this or any other open source script or tools?

+6


source to share


2 answers


You can use the CloudWatch Metric Math feature AVG

to average two metrics:



Single Time Series AVG returns a scalar that represents the average of all data points in a metric. AVG time series array returns one time series . Missing values ​​are treated as 0.

0


source


Obtained (calculated) metrics are not supported in the CloudWatch API. You also cannot combine multiple metrics in a single query, just as you cannot combine multiple instances in a single query. I know the options, but they are not OSS.



enter image description here

-1


source







All Articles