Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Observability & productionMiddleOccasionalAutomation

What would you automate for health probes during a canary rollout, and what would you leave manual?

Answer

Before automating, begin by tracing a user-visible symptom through telemetry to the responsible change and dependency. Focus on health probes 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 health probes
  • tests telemetry as product behavior
  • prefers actionable symptom-based alerts
  • measurable evidence and residual-risk statement

Practical example

The junior tester automates a check that the canary's readiness probe must pass before the load balancer sends it any real traffic, and that a failing probe automatically pulls the pod out of rotation. Deciding what the probe's timeout and failure-threshold values should be for this specific service stays a manual, discussed decision with the service owner.

#observability#production#sre#health-probes

Sources

OpenTelemetry conceptsOpenTelemetry · Traces, metrics, logs, context propagation and instrumentationPrometheus alerting practicesPrometheus · Symptom-based actionable alerts, metamonitoring and noise reductionConfigure liveness, readiness and startup probesKubernetes · Service health, traffic readiness, recovery and probe failure modes