Sha256: e3ab444a525d654d6f4fbb46889cd15657e9db09857a531023ec64d1855d20b2

Contents?: true

Size: 498 Bytes

Versions: 2

Compression:

Stored size: 498 Bytes

Contents

module Datadog
  module Ext
    module Sampling
      # 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

2 entries across 2 versions & 1 rubygems

Version Path
ddtrace-0.30.1 lib/ddtrace/ext/sampling.rb
ddtrace-0.30.0 lib/ddtrace/ext/sampling.rb