Difference and relationship between CloudWatch "monitoring type" and "metric resolution"

2

The monitoring types dictates how an AWS Service sends metrics to CloudWatch and they are of two types: Basic (every 5 minutes) and Detailed (every minute). On the other hand, each metric is one of the following: Standard resolution (with data having a one-minute granularity) or High resolution, (with data at a granularity of one second).

My questions:

  1. If I'm getting it right, the resolution is the frequency at which metrics are generated and the monitoring type is the frequency at which a service publishes the metric to CloudWatch right?
  2. If So, why have a "high resolution" metric being able to generate data each 1 second if CloudWatch can only ingest metrics each minute (based on the detailed monitoring type)?
tasnime
已提問 2 年前檢視次數 2507 次
1 個回答
0

Hi, CloudWatch can ingest metrics with a resolution of 1 second, but the ability to leverage that resolution is not currently offered by detailed monitoring, so only custom metrics users take advantage of it.

Monitoring type is not just about the resolution: Basic monitoring includes some 1-min metrics at no charge (e.g. StatusCheck on EC2- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html). And when you turn on detailed monitoring, in addition to getting 1-minute resolution for many metrics, you also get additional metrics. For example on EC2: "For the instances where you've enabled detailed monitoring, you can also get aggregated data across groups of similar instances." (cf. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch-new.html)

Regarding sub-minute resolution: If using custom metrics, you can ingest your observations with sub-minute resolution, down to 1-second resolution, then plot them at 1-second resolution, or use CloudWatch statistics to surface means or percentiles over different time resolutions (e.g. 5/10/30 seconds), or alarm on them at sub-minute (e.g. 10-second) frequency.

profile pictureAWS
Jsc
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南