Sha256: fb4e67baeb3a74b826c2bbedf0d60e244d4616c77d6c5e6f392baea8a48d5d70

Contents?: true

Size: 605 Bytes

Versions: 29

Compression:

Stored size: 605 Bytes

Contents

module Datadog
  module Ext
    module Sampling
      ENV_SAMPLE_RATE = 'DD_TRACE_SAMPLE_RATE'.freeze
      ENV_RATE_LIMIT = 'DD_TRACE_RATE_LIMIT'.freeze

      # 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.
      RULE_SAMPLE_RATE = '_dd.rule_psr'.freeze

      # 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.
      RATE_LIMITER_RATE = '_dd.limit_psr'.freeze
    end
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
ddtrace-0.35.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.34.2 lib/ddtrace/ext/sampling.rb
ddtrace-0.34.1 lib/ddtrace/ext/sampling.rb
ddtrace-0.34.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.33.1 lib/ddtrace/ext/sampling.rb
ddtrace-0.33.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.32.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.31.1 lib/ddtrace/ext/sampling.rb
ddtrace-0.31.0 lib/ddtrace/ext/sampling.rb