Sha256: 19ba40b3b1766f23c47fe9dde1e2b274b091fa5d1eae76766f4cece9a425102a
Contents?: true
Size: 678 Bytes
Versions: 15
Compression:
Stored size: 678 Bytes
Contents
require 'ddtrace/contrib/configuration/settings' require 'ddtrace/contrib/redis/ext' module Datadog module Contrib module Redis module Configuration # Custom settings for the Redis integration class Settings < Contrib::Configuration::Settings option :analytics_enabled, default: -> { env_to_bool(Ext::ENV_ANALYTICS_ENABLED, false) }, lazy: true option :analytics_sample_rate, default: -> { env_to_float(Ext::ENV_ANALYTICS_SAMPLE_RATE, 1.0) }, lazy: true option :service_name, default: Ext::SERVICE_NAME end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems