ReadonlyinitialReadonlypollReadonlysamplingReadonlyserviceThe strategy in use, or null before the first successful poll.
Stops polling and releases connections. Idempotent.
Resolves after the first poll since start finished (successfully or not).
Fetches the strategy once and installs it. Throws on failure (the previous strategy stays in use).
The sampling decision for a new span (see the class description for the rule).
Alias of close (OpenTelemetry naming).
Starts polling (first fetch immediately). Idempotent.
Returns the sampler name or short description with the configuration.
OpenTelemetry
Samplerdriven by Jaeger's remote sampling endpoint. Rule (same in every language): a per-operation strategy wins for a listed operation (span name); every other operation uses the service-levelrateLimitingSamplingwhen present, elseprobabilisticSampling(elsedefaultSamplingProbability). Probabilistic decisions are deterministic per trace id. Until the first strategy arrives,initialSamplingRateapplies; a failed or malformed poll keeps the last good strategy.Use it as the root of a
ParentBasedSampler(whatinitTracing({ remoteSampler })does).