Search GimmeJob

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

What would you automate for alerts and dashboards when failures are intermittent, 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 alerts and dashboards when failures are intermittent. 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 alerts and dashboards
  • tests telemetry as product behavior
  • prefers actionable symptom-based alerts
  • measurable evidence and residual-risk statement

Practical example

For an intermittent failure, the junior tester automates a synthetic probe that repeats the failing user action every minute and feeds pass/fail results into the existing alerting pipeline, so a real signal accumulates over hours. Deciding what alert threshold avoids paging on-call for a single blip stays a manual tuning decision made with the on-call lead.

#observability#production#sre#alerts-and-dashboards

Sources

OpenTelemetry conceptsOpenTelemetry · Traces, metrics, logs, context propagation and instrumentationPrometheus alerting practicesPrometheus · Symptom-based actionable alerts, metamonitoring and noise reduction