Module: Datadog::Ext::Sampling

Defined in:
lib/ddtrace/ext/sampling.rb

Constant Summary collapse

ENV_SAMPLE_RATE =
'DD_TRACE_SAMPLE_RATE'.freeze
ENV_RATE_LIMIT =
'DD_TRACE_RATE_LIMIT'.freeze
RULE_SAMPLE_RATE =

If rule sampling is applied to a span, set this metric the sample rate configured for that rule. This should be done regardless of sampling outcome.

'_dd.rule_psr'.freeze
RATE_LIMITER_RATE =

If rate limiting is checked on a span, set this metric the effective rate limiting rate applied. This should be done regardless of rate limiting outcome.

'_dd.limit_psr'.freeze