Consistent
Table of Contents
Interfaces
- ComposableSamplerInterface
- A sampler that returns its sampling preference (a {@see SamplingIntentInterface}) instead of a decision.
- PredicateInterface
- A condition of a {@see ComposableRuleBased} rule.
- SamplingIntentInterface
- The sampling preference returned by a {@see ComposableSamplerInterface}.
Classes
- ComposableAlwaysOff
- Drops every span (no threshold, adjusted count not reliable).
- ComposableAlwaysOn
- Samples every span (threshold 0).
- ComposableAnnotating
- Delegates the decision to another composable sampler and adds attributes to sampled spans.
- ComposableParentThreshold
- Propagates the sampling decision of the parent and delegates root spans to the root sampler.
- ComposableProbability
- Samples spans with a fixed probability.
- ComposableRuleBased
- Evaluates (predicate, sampler) rules in order and returns the intent of the first matching rule.
- CompositeSampler
- Makes the final sampling decision for a {@see ComposableSamplerInterface} and maintains the `ot` entry of the
TraceState.
- Predicate
- Closure based {@see PredicateInterface} with named constructors for the common conditions.
- PredicatedSampler
- A rule of {@see ComposableRuleBased}: the sampler is used for spans that match the predicate.
- SamplingIntent
- Immutable {@see SamplingIntentInterface}.