Bringing application context to full-host eBPF profiling
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Datadog engineers, working with Elastic, Polar Signals and other OpenTelemetry contributors, describe two accepted proposals that let the OpenTelemetry eBPF profiler read application context from outside a process. Process context (OTEP 4719) publishes service identity through a named memory mapping. Thread context (OTEP 4947) exposes trace and span IDs through an ELF thread-local pointer to a compact record. In Datadog's Java benchmark on one host, setting context plus one attribute fell from 226.4 ns to 91.2 ns. Datadog supplied the figures; no independent source is cited.