Sha256: dfdccc9fcb1e29c1241cb11afb529602ef810c771313f969327ba1923f795c3e
Contents?: true
Size: 771 Bytes
Versions: 2
Compression:
Stored size: 771 Bytes
Contents
# typed: strict module Datadog module Ext # 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. module Priority # Use this to explicitely inform the backend that a trace should be rejected and not stored. USER_REJECT = -1 # Used by the builtin sampler to inform the backend that a trace should be rejected and not stored. AUTO_REJECT = 0 # Used by the builtin sampler to inform the backend that a trace should be kept and stored. AUTO_KEEP = 1 # Use this to explicitely inform the backend that a trace should be kept and stored. USER_KEEP = 2 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-0.53.0 | lib/ddtrace/ext/priority.rb |
ddtrace-0.52.0 | lib/ddtrace/ext/priority.rb |