Interview Prep/Monitoring & Observability/Tracing and OpenTelemetry

How do you make sure the tracing backend failing never impacts the application?

BeginnerScenarioTracing and OpenTelemetry
Answer

Situation read → Observability must not become a dependency that can take down production.

What I'd do →

  1. Use the batch span processor (async export), never synchronous export.
  2. Send to a local Collector agent (node-local) instead of directly to a remote backend.
  3. Set bounded queues (OTEL_BSP_MAX_QUEUE_SIZE) so spans are dropped, not memory exhausted.
  4. Set export timeouts (OTEL_EXPORTER_OTLP_TIMEOUT).
  5. Test by shutting down the Collector in staging.

Why → Dropping telemetry is acceptable; dropping user requests is not.

Interview tip → "Telemetry is best effort" is the right principle to state.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing and OpenTelemetry