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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ