Uses of Enum
io.opentelemetry.sdk.trace.samplers.SamplingDecision
Packages that use SamplingDecision
Package
Description
This package contains
Samplers for selecting traces
that are recorded and exported.-
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.Methods in io.opentelemetry.sdk.trace.samplers that return SamplingDecisionModifier and TypeMethodDescriptionSamplingResult.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.