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
- Measure user outcomes before selecting infrastructure dashboards.
- 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.
- Choose a checkout latency metric and an error-rate metric.
- Identify trace spans for payment and database calls.
- Write the first investigation step for a sustained latency alert.
Check your understanding
Which signal best connects time spent across request dependencies?
Choose an answer to see the reasoning.
Continue with AWS documentation
Before following a deployment guide, review current pricing, permissions, and cleanup steps. Budget alerts are not a hard spending cap.