name: design-for-observability
description: Define observability signals, service objectives, dashboards, and actionable alerts for a system. Use when the user needs a monitoring and troubleshooting plan for a service or architecture.
domain: architecture-design
tags: [observability, service-objectives, alerting]
triggers: ["system observability design", "add service monitoring", "architecture alerting plan"]
Define observability signals, service objectives, dashboards, and actionable alerts for a system
Purpose
Define observability signals, service objectives, dashboards, and actionable alerts for a system.
When to use
Use when the user needs a monitoring and troubleshooting plan for a service or architecture.
When NOT to use
Do not use this for a local implementation detail; use software-engineering instead.
Inputs required
- The functional and non-functional requirements
- The constraints on scale, budget and timeline
- The existing systems the design must fit
Procedure
- Map each critical user journey to its service-level indicators and error-budget owner.
- Instrument structured logs, metrics, and traces with shared identifiers across boundaries.
- Define thresholds, evaluation windows, severity, and routing for each actionable alert.
- Create dashboards that show demand, errors, latency, saturation, and dependency health.
- Link every alert to a runbook with diagnosis, containment, and recovery steps.
- Record observability assumptions, blind spots, and review dates with the operating team.
Output contract
A design with components, interfaces, data flows, failure modes and a migration path.
Validation checklist
Safety notes
Never present a design as final without stating the assumptions it depends on.
Related skills
design-a-data-model-for-a-feature
design-a-batch-processing-pipeline
design-a-caching-layer
1---2name: design-for-observability3description: Define observability signals, service objectives, dashboards, and actionable alerts for a system. Use when the user needs a monitoring and troubleshooting plan4---5---6name: design-for-observability7description: Define observability signals, service objectives, dashboards, and actionable alerts for a system. Use when the user needs a monitoring and troubleshooting plan for a service or architecture.8domain: architecture-design9tags: [observability, service-objectives, alerting]10triggers: ["system observability design", "add service monitoring", "architecture alerting plan"]11---1213# Define observability signals, service objectives, dashboards, and actionable alerts for a system1415## Purpose1617Define observability signals, service objectives, dashboards, and actionable alerts for a system.1819## When to use2021Use when the user needs a monitoring and troubleshooting plan for a service or architecture.2223## When NOT to use2425Do not use this for a local implementation detail; use software-engineering instead.2627## Inputs required2829- The functional and non-functional requirements30- The constraints on scale, budget and timeline31- The existing systems the design must fit3233## Procedure34351. Map each critical user journey to its service-level indicators and error-budget owner.362. Instrument structured logs, metrics, and traces with shared identifiers across boundaries.373. Define thresholds, evaluation windows, severity, and routing for each actionable alert.384. Create dashboards that show demand, errors, latency, saturation, and dependency health.395. Link every alert to a runbook with diagnosis, containment, and recovery steps.406. Record observability assumptions, blind spots, and review dates with the operating team.4142## Output contract4344A design with components, interfaces, data flows, failure modes and a migration path.4546## Validation checklist4748- [ ] Every requirement maps to a component49- [ ] Failure and rollback paths are described50- [ ] The trade-offs behind the choice are written down5152## Safety notes5354Never present a design as final without stating the assumptions it depends on.5556## Related skills5758- `design-a-data-model-for-a-feature`59- `design-a-batch-processing-pipeline`60- `design-a-caching-layer`