-
public class DatadogTracingConstants.PrioritySamplingPrioritySampling class defines the priority sampling decisions used for tracing purposes. These constants represent both system-driven and user-driven sampling decisions to manage trace propagation.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerUNSETprivate final IntegerSAMPLER_DROPprivate final IntegerSAMPLER_KEEPprivate final IntegerUSER_DROPprivate final IntegerUSER_KEEPpublic final static DatadogTracingConstants.PrioritySamplingINSTANCE
-
Method Summary
Modifier and Type Method Description final IntegergetUNSET()Implementation detail of the client. final IntegergetSAMPLER_DROP()The sampler has decided to drop the trace. final IntegergetSAMPLER_KEEP()The sampler has decided to keep the trace. final IntegergetUSER_DROP()The user has decided to drop the trace. final IntegergetUSER_KEEP()The user has decided to keep the trace. -
-
Method Detail
-
getUNSET
final Integer getUNSET()
Implementation detail of the client. will not be sent to the agent or propagated.
Internal value used when the priority sampling flag has not been set on the span context.
-
getSAMPLER_DROP
final Integer getSAMPLER_DROP()
The sampler has decided to drop the trace.
-
getSAMPLER_KEEP
final Integer getSAMPLER_KEEP()
The sampler has decided to keep the trace.
-
getUSER_DROP
final Integer getUSER_DROP()
The user has decided to drop the trace.
-
getUSER_KEEP
final Integer getUSER_KEEP()
The user has decided to keep the trace.
-
-
-
-