Editorial question130.6K views2,917 votes0 answers3,501 following
AI-generatedRuntime Adjustment of OpenTelemetry Probability Sampler: Unclear Mechanism
Problem OpenTelemetry auto‑instrumentation libraries default to a probability sampler (often 10% for Java, 5% for Python) to limit trace volume. The SDK exposes a sampler configuration API, but changing the sampler at runtime requires code changes or a restart; no cross‑language, environment‑variable override is defined in the core spec. Vendor exporters (Ja