Skip to main content
InterviewHubPRO
Section Overview
Q37

Question 37 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

74%
SRE & Observability (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

OpenTelemetry (OTel) Architecture: OTel Collector, Traces, Metrics, Logs, and W3C TraceContext.

senior LevelSystem Design

In Simple Words: OpenTelemetry is the vendor-neutral standard for cloud-native telemetry:

  1. API & SDK: Instrument code with unified spans, metrics, and logs.
  2. W3C TraceContext: Automatically propagates traceparent (version-trace_id-parent_id-flags) across HTTP and gRPC network boundaries.
  3. OTel Collector: A high-performance proxy agent running as a sidecar or daemonset:
    • Receivers: Ingest data (OTLP, Jaeger, Zipkin, Prometheus).
    • Processors: Batch, compress, mask PII, and filter traces.
    • Exporters: Push telemetry simultaneously to backends (Datadog, Honeycomb, Jaeger, Prometheus) with zero vendor lock-in.