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.51.1 lib/ddtrace/ext/sampling.rb
ddtrace-0.51.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.50.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.49.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.48.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.47.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.46.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.45.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.44.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.43.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.42.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.41.0 lib/ddtrace/ext/sampling.rb
ls-trace-0.2.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.40.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.39.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.38.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.37.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.36.0 lib/ddtrace/ext/sampling.rb
ddtrace-0.35.2 lib/ddtrace/ext/sampling.rb
ddtrace-0.35.1 lib/ddtrace/ext/sampling.rb