Sha256: 6da158355f7b526003c18636312d947d3bc926842e3a4c35fbe6f60d9529874b
Contents?: true
Size: 742 Bytes
Versions: 15
Compression:
Stored size: 742 Bytes
Contents
require 'ddtrace/contrib/configuration/settings' require 'ddtrace/contrib/elasticsearch/ext' module Datadog module Contrib module Elasticsearch module Configuration # Custom settings for the Elasticsearch 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 :quantize, default: {} option :service_name, default: Ext::SERVICE_NAME end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems