Skip to content
guidePhase: LearnQualityGuide 13 of 16

Roles: qa · devops sre

Guide: Observability & Monitoring as QA ​

Decision: How production signals act as a continuous QA layer and feed planning — distinct from base instrumentation (monitoring-tracing-logging.md) and dashboards (dashboards-reporting.md).

Related: operations-observability.md · SOP-007 · SOP-008


Monitoring-as-QA vs traditional monitoring ​

Traditional ops monitoringMonitoring as QA
"Is it up?""Did this release change behavior vs contract?"
Page on thresholdPage on novel failure or SLO burn
Ops owns alertsOps + dev own regression artifacts
Fix and closeFix + test in CI so it never returns

CI catches known cases; production catches unknown unknowns and integration drift.


QA-oriented patterns ​

PatternWhat it catchesPitfall if misconfigured
Synthetic canariesUser journey breaksShallow scripts miss API logic bugs
SLO error budgetsSlow degradationBudget too loose → silent rot
Deploy metric diffRelease caused regressionNo deploy tags → false negatives
New error class detectionNovel exceptionsAllowlist stale → noise or silence
Anomaly detectionUnknown unknownsAlert fatigue without tuning
Contract vs prod traceSpec behavior driftNot comparing to OpenAPI allowlist

Stack pointer ​

For metrics/logs/traces/RUM/synthetics tooling choices, see Monitoring, tracing & logging.

For alert routing, war rooms, postmortems, see Incident management.

For SLO dashboards and exec reports, see Dashboards & reporting.


Feedback loop to development ​

ActionOwnerPitfall
Regression test from incidentDEVNever filed → repeat incident
Spec amendmentPO/ARCHBlame user error not spec gap
ADR updateARCHSame arch mistake twice
Alert tuningSREPermanent mute hides bugs

Recommended: Sev-1/2 requires regression test PR within defined SLA (SOP-008).


AI in the QA loop ​

UseSafe patternPitfall
Log clustering during incidentHuman validates clustersAuto-remediate from AI guess
Draft postmortemHuman edits all sectionsPublish AI text unreviewed
Suggest regression testHuman merges after reviewTest asserts wrong behavior
Anomaly explanationLabel as hypothesisTreat as root cause

Pitfalls ​

PitfallWhy it hurtsMitigation
Monitoring separate from QA mindsetSame bug twiceMandatory regression artifact
Canaries in prod onlyLate detectionStaging synthetics pre-release
No trace propagationCan't debug AI microservicesOpenTelemetry standard
Metrics without SLOsArbitrary alertsSLI/SLO per T1
Logs without structureAI correlation uselessJSON + trace_id
Skipping postmortem action itemsProcess debtTrack to completion in ticket

Staging + prod synthetics on critical paths → deploy metric diff with auto-rollback → new-error-class alerts → post-incident regression mandatory → link incidents to spec/ADR updates when applicable.


Reference template only — no production code. Adapt in your own project.