datadog.trace.api.sampling.PrioritySampling Maven / Gradle / Ivy
package datadog.trace.api.sampling;
public class PrioritySampling {
/**
* 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.
*/
public static final byte UNSET = (byte) 0x80;
/** The sampler has decided to drop the trace. */
public static final byte SAMPLER_DROP = 0;
/** The sampler has decided to keep the trace. */
public static final byte SAMPLER_KEEP = 1;
/** The user has decided to drop the trace. */
public static final byte USER_DROP = -1;
/** The user has decided to keep the trace. */
public static final byte USER_KEEP = 2;
private PrioritySampling() {}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy