-
public final class ApmNetworkInstrumentationExtKt
-
-
Method Summary
Modifier and Type Method Description final static FloateffectiveSampleRate(Sampler<DatadogSpan> $self, DatadogSpan span)Returns the effective sample rate for the given span. final static BooleanisDropped(DatadogSpanContext $self)Returns true if this context's sampling priority is a dropped trace (SAMPLER_DROP or USER_DROP). final static BooleanisDroppedPriority(Integer $self)Returns true if this sampling priority value is a dropped trace (SAMPLER_DROP or USER_DROP). -
-
Method Detail
-
effectiveSampleRate
final static Float effectiveSampleRate(Sampler<DatadogSpan> $self, DatadogSpan span)
Returns the effective sample rate for the given span. If the sampler implements SpanAwareSampler, the per-span rate is returned. Otherwise, the sampler's static rate is returned.
-
isDropped
final static Boolean isDropped(DatadogSpanContext $self)
Returns true if this context's sampling priority is a dropped trace (SAMPLER_DROP or USER_DROP).
@InternalApisoDatadogInterceptorcan share this; revert tointernalonceDatadogInterceptoris removed.
-
isDroppedPriority
final static Boolean isDroppedPriority(Integer $self)
Returns true if this sampling priority value is a dropped trace (SAMPLER_DROP or USER_DROP).
@InternalApisoDatadogInterceptorcan share this; revert tointernalonceDatadogInterceptoris removed.
-
-
-
-