Interview Prep/Monitoring & Observability/Tracing and OpenTelemetry

An OTel Collector config change broke trace ingestion for all services. How do you prevent this?

AdvancedScenarioTracing and OpenTelemetry
Answer

Situation read → The Collector is shared infrastructure; config changes need the same rigour as app deploys.

What I'd do →

  1. Validate configs in CI: otelcol-contrib validate --config=config.yaml.
  2. Use GitOps with canary rollout: update one agent group or one Collector replica first.
  3. Monitor otelcol_receiver_accepted_spans, otelcol_receiver_refused_spans, otelcol_exporter_send_failed_spans.
  4. Alert on a sudden drop in accepted spans per service.
  5. Keep the previous config ready for instant rollback.

Why → One bad config affects every service; staged rollout limits the blast radius.

Interview tip → Mention validate command; many candidates do not know it exists.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing and OpenTelemetry