Editorial question130.6K views4,150 votes1 answer1 comment1,934 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