CloudWatch custom metrics, EMF and alarms

The essentials in 30 seconds

before you dive into the details
Picture this

A sensor and a warning bell

Collect the measurement

Agent / EMF → metric values

A sensor supplies the measurements.

Evaluate the condition

Alarm → threshold evaluation

A bell reacts to the measured condition.

Where the analogy stops: An alarm does not create a missing source metric. A dashboard displays data but does not replace an alarm action.
01Picture this

A sensor supplies the measurements. A bell reacts to the measured condition.

02Decision

Collect or extract the metric first, then configure its dimensions and alarm.

03In your code

EMF requires valid metric metadata; an arbitrary JSON number is not automatically a metric.

Exam trap

Changing EC2 monitoring frequency does not add guest-memory measurements by itself.

One sentence to remember

Collect or extract the metric first, then configure its dimensions and alarm.

1 media item5 rule steps5 scenarios6 flashcards

Focus mode