The mental model

Metrics summarize numerical behavior over time. Logs record events with context. Traces connect work across request boundaries. CloudWatch provides monitoring capabilities across these signals, while instrumentation determines what an application actually emits. More telemetry is not automatically better: missing request context can make a large log collection difficult to use.

Start with user-visible outcomes such as successful requests and latency, then connect them to dependency health. Use correlation identifiers without putting secrets or unnecessary personal data in telemetry. Set retention and sampling intentionally. Alerts should represent actionable conditions with an owner and a first diagnostic step, rather than every possible metric change.

Decisions to make

  1. Measure user outcomes before selecting infrastructure dashboards.
  2. Define retention, redaction, and sampling as part of instrumentation.

Design exercise · no AWS resources needed

Work through a scenario

Customers report slow checkouts, but instance CPU looks normal.

  1. Choose a checkout latency metric and an error-rate metric.
  2. Identify trace spans for payment and database calls.
  3. Write the first investigation step for a sustained latency alert.

Check your understanding

Which signal best connects time spent across request dependencies?

Continue with AWS documentation

Before following a deployment guide, review current pricing, permissions, and cleanup steps. Budget alerts are not a hard spending cap.

Saved in this browser. Press again to undo.

Prepaid · USD

Top up balance

Available balance: $0.00

Your balance works across Heap tools. A failed lookup or generation releases its reserved amount.