Uses of Enum
io.opentelemetry.sdk.trace.samplers.SamplingDecision
Packages that use SamplingDecision
Package
Description
The OpenTelemetry SDK implementation of tracing.
This package contains
Samplers for selecting traces
that are recorded and exported.-
Uses of SamplingDecision in io.opentelemetry.sdk.trace
Methods in io.opentelemetry.sdk.trace with parameters of type SamplingDecisionModifier and TypeMethodDescription(package private) static booleanSdkSpanBuilder.isRecording(SamplingDecision decision) (package private) static booleanSdkSpanBuilder.isSampled(SamplingDecision decision) -
Uses of SamplingDecision in io.opentelemetry.sdk.trace.samplers
Subclasses with type arguments of type SamplingDecision in io.opentelemetry.sdk.trace.samplersModifier and TypeClassDescriptionenumA decision on whether a span should be recorded, recorded and sampled or dropped.Fields in io.opentelemetry.sdk.trace.samplers declared as SamplingDecisionModifier and TypeFieldDescriptionprivate final SamplingDecisionAutoValue_ImmutableSamplingResult.decisionMethods in io.opentelemetry.sdk.trace.samplers that return SamplingDecisionModifier and TypeMethodDescriptionAutoValue_ImmutableSamplingResult.getDecision()abstract SamplingDecisionImmutableSamplingResult.getDecision()SamplingResult.getDecision()Return decision on whether a span should be recorded, recorded and sampled or not recorded.static SamplingDecisionReturns the enum constant of this type with the specified name.static SamplingDecision[]SamplingDecision.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.opentelemetry.sdk.trace.samplers with parameters of type SamplingDecisionModifier and TypeMethodDescriptionstatic SamplingResultSamplingResult.create(SamplingDecision decision) static SamplingResultSamplingResult.create(SamplingDecision decision, Attributes attributes) Returns aSamplingResultwith the givenattributesandSamplingResult.getDecision()returningdecision.(package private) static SamplingResultImmutableSamplingResult.createSamplingResult(SamplingDecision decision, Attributes attributes) private static SamplingResultImmutableSamplingResult.createWithoutAttributes(SamplingDecision decision) Constructors in io.opentelemetry.sdk.trace.samplers with parameters of type SamplingDecisionModifierConstructorDescription(package private)AutoValue_ImmutableSamplingResult(SamplingDecision decision, Attributes attributes)