module Datadog::Ext::Priority
Priority
is a hint given to the backend so that it knows which traces to reject or kept. In a distributed context, it should be set before any context propagation (fork, RPC calls) to be effective.
Constants
- AUTO_KEEP
Used by the builtin sampler to inform the backend that a trace should be kept and stored.
- AUTO_REJECT
Used by the builtin sampler to inform the backend that a trace should be rejected and not stored.
- USER_KEEP
Use this to explicitely inform the backend that a trace should be kept and stored.
- USER_REJECT
Use this to explicitely inform the backend that a trace should be rejected and not stored.