otel-profiling: Experimental Python Continuous Profiler Exporting OTLP Profiles
Article Content
- •otel-profiling 0.2.0 is a Python continuous profiler that exports OTLP profiles linked to traces and spans.
- •It relies on CPython's private _remote_debugging API, so breaking changes are expected between Python minor versions.
- •Default process mode on Linux uses a separate sampler process and prctl(PR_SET_PTRACER) instead of elevated privileges.
- •The profiler only starts when OTEL_PROFILES_EXPORTER=otlp is set, so calling instrument() unconditionally is safe.
- •The articles describe no vulnerability, exploitation, or threat activity.
A Python package named otel-profiling (version 0.2.0), published on PyPI and mirrored in a GitHub repository by a different author, provides a continuous CPU and wall-clock profiler that exports OpenTelemetry profiles over OTLP linked to active traces and spans. The profiler samples thread stacks using CPython's private _remote_debugging API, which the package describes as requiring no extra privileges (no SYS_PTRACE or eBPF) and no native dependencies. Its default process mode runs a separate sampler process on Linux, using prctl(PR_SET_PTRACER) to permit memory reads, and falls back to thread mode on other platforms or when blocked. The profiler starts only when OTEL_PROFILES_EXPORTER=otlp is set. The project is labelled experimental, because the OTLP profiles signal is still v1development and the sampling API is private, so breaking changes are expected between Python minor versions. The articles describe a software library for observability, not a vulnerability or attack, and no CVEs, exploitation, or threat actors are mentioned.
Ask AI about this cluster
Answers cite the sources they use
More articles in this cluster (4)
Common questions
Does this profiler need elevated privileges?
Is it production-ready?
Which backends can receive the profiles?
Continue Reading
CVE-2026-123890: Auth bypass in VMware vCenter exploited by Armory Castle before patch CVE-2026-123890, a flaw in VMware vCenter Server rated CVSS 9.8, allows an unauthenticated remote attacker to obtain an administrator session on the platform. According to the Google Threat Intelligence Group, the flaw was exploited by the espionage group Armory Castle (formerly UNC5221), which has suspected China…
North Korea's TraderTraitor linked to $6.3B Binance breach via compromised DevOps laptop The FBI, with the U.S. Secret Service and IRS, attributes a security incident at the Binance cryptocurrency exchange to North Korea's TraderTraitor group, which the FBI says converted stolen assets primarily into Ethereum. Binance estimates the total financial impact at $6.3 billion and says it has worked with…