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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠