INFRASTRUCTURE LEARNINGINFRASTRUCTURE LEARNING
インフラ大全インフラ大全IT INFRASTRUCTURE / LEARNING
Infrastructure learning guide
Find a lesson or lab/

Esc to close · Search terms stay on your device

LEARNING日本語

Topic lessonTopic: Monitoring and recovering event processing

Read CloudWatch alarm states when data is missing

An alarm evaluates a condition on the metric you configure. Follow an image-processing delay example to distinguish observed breaches from an interval that lacked enough data.

What you will learn

Read Period, evaluation periods N, and datapoints-to-alarm M, then choose what to inspect for breaching, non-breaching, and missing observations.

Prerequisite

This assumes you know that CloudWatch can aggregate a metric over a period.

Match the alarm state to the metric it evaluated

A metric alarm compares each evaluated period’s statistic with a threshold. In an M-out-of-N alarm, M is the required number of breaching points and N describes the number of periods evaluated.

How to read an image-processing delay alarm
How to read an image-processing delay alarm1: Metric — Select the same metric — Period. 2: Period — Distinguish breaches from missing points — Breaches. 3: Breaches — Review the reason for the state — State123MetricPeriodBreachesStateHow to read an image-processing delay alarm1: Metric — Select the same metric — Period. 2: Period — Distinguish breaches from missing points — Breaches. 3: Breaches — Review the reason for the state — State123MetricPeriodBreachesState
  1. Metric → PeriodSelect the same metric
  2. Period → BreachesDistinguish breaches from missing points
  3. Breaches → StateReview the reason for the state
Metric
Time spent waiting for image processing
Period
One-minute values
Breaches
Two of the three evaluated points
State
Check the reason and underlying data

Evaluate a threshold that needs two of three points

Fixed example: one-minute periods, greater than 60 seconds, M=2 and N=3
ObservationsInterpretationNext check
45, 80, and 90 secondsTwo breachesMeets the example threshold condition.
45, 80, and 50 secondsOne breachWith all three points present, this falls short.
Every point in the evaluation range is missingMissing data treatment is missingINSUFFICIENT_DATA. Check when the metric is published.

A default sliding evaluation can retrieve extra older points when data is missing. An empty slot among the last three plotted points does not determine the alarm state by itself. Read the evaluation reason and its data range.

Check when the metric is expected to publish

A metric that normally publishes continuously. If expected points stop arriving, check the resource, delivery of telemetry, Region, and dimensions. Choose missing-data behavior with its notification and automation effects in mind.

A metric that publishes only on a particular event. A metric designed to publish only on errors can have no points during normal periods. Confirm the reporting rules and whether a gap is expected.

Choose what each alarm state establishes

Choose an option to see the result and explanation.

The three points are 45, 80, and 90 seconds. Two must exceed 60 seconds. What does the example show?
Read the answer and reason

Answer: The example reaches the breach count · The 80-second and 90-second points breach the threshold.

Every point in the evaluation range is missing and the alarm treats missing data as missing. What do you conclude?
Read the answer and reason

Answer: Check publication conditions after seeing INSUFFICIENT_DATA · There is insufficient data to establish the condition.

The recent graph has a gap. Where do you verify the data actually evaluated?
Read the answer and reason

Answer: Alarm history and the metric data it evaluated · Check the state-change reason and underlying data.

Check, then explain in your own words

  1. Record the threshold, period, M, and N.
  2. Read when the state changed and its reported reason.
  3. Verify when the metric is expected to publish.
Check your understanding: The dashboard has a gap while the alarm is OK. What do you verify first?

Check the evaluation range, missing-data setting, and publication conditions.

Alarm state describes its configured evaluation. Use independent service evidence to assess whether the workload is healthy.

Sources and conditions checked

The official references used in this lesson are collected here with their scope, conditions and corresponding sections. Independent expert review and live AWS comparison have not been performed.