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
dkkashyap
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
Diego F. DurΓ‘n
source
to share
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.
-1
Sergei Rodionov
source
to share