How would you approach service metrics during a canary rollout?
Answer
Start by tracing a user-visible symptom through telemetry to the responsible change and dependency. Focus on service metrics during a canary rollout. Use service-level objectives, known test events and correlated logs, metrics and traces as the oracle. Cover signal correctness, context propagation, sampling, alert routing, rollout and recovery. Keep data and dependencies controlled enough to reproduce failures. Release only when a responder can detect, scope and diagnose the failure within the agreed operational target.
Strong answer includes
- explicit risk and test oracle for service metrics
- tests telemetry as product behavior
- prefers actionable symptom-based alerts
- measurable evidence and residual-risk statement
Practical example
During a canary rollout, the tester's approach is to compare the canary's p50/p95/p99 latency and error-rate metrics against the baseline on the same dashboard, using the same time window, rather than comparing the canary against its own historical average, because a quiet traffic hour can make a genuinely worse canary look fine in isolation.