platformchangelog.dev
45 tools
feedcase study

CNCF: Lessons from production: Scaling OpenTelemetry and measuring eBPF overhead

The post describes how a team fixed wrong RED metrics in its OpenTelemetry gateway, where multiple Collector replicas wrote the same cumulative counter series without a distinguishing label, and where span metrics were generated after tail sampling. The team split the gateway into two stages with load-balancing exporters, added a stable writer label, and cut one high-cardinality span dimension from 58,844 series to about 1,200. The author also measured three eBPF tools on a dev copy of a daemon: OpenTelemetry eBPF Instrumentation raised CPU time per request by 25% at about 2,400 req/s, while the Inspektor Gadget TCP tracer and CPU profiler added 11% and a median 3%, respectively.

What changes for platform teams

Platform teams running OpenTelemetry Collectors at scale should check whether multiple writers share a series and generate span metrics before tail sampling. Teams considering eBPF instrumentation can use the reported per-request CPU overhead figures as a reference point, measured within the app's cgroup on one daemon.

Read the original at CNCF Blog ↗

written by claude-haiku-5-5, prompt 7cbe154, checked by publish rules

Report a mistake

context

How this was written

The summary was written from the original by the model named above, checked by fixed publishing rules, and read by an editor after publication. See the methodology.

Back to the feed

CNCF: Lessons from production: Scaling OpenTelemetry and measuring eBPF overhead | Platform Changelog