How does eBPF-based observability work, and what are its limits?

AdvancedConceptTracing & OpenTelemetry
Answer

eBPF lets small verified programs run in the Linux kernel, attached to syscalls, kernel functions, network hooks and user-space probes (uprobes). Observability tools use it to see traffic and latency without changing application code.

Examples: Grafana Beyla (donated to OpenTelemetry as its eBPF instrumentation project), Pixie, Cilium Hubble for network flows, Parca/Pyroscope eBPF profilers, Inspektor Gadget.

Strengths: language-agnostic RED metrics and basic spans for HTTP/gRPC/SQL, network flow visibility, near-zero onboarding.

Limits:

  • Needs a recent kernel, privileged pods or CAP_BPF/CAP_SYS_ADMIN.
  • TLS traffic needs uprobes on the TLS library to see plaintext.
  • Context propagation across async code and queues is limited, so traces are shallower than SDK instrumentation.
  • No business attributes (customer tier, cart value).

We use eBPF for coverage and SDK instrumentation for depth.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing & OpenTelemetry