Class: Datadog::Tracing::Contrib::Rails::Configuration::Settings

Inherits:
Configuration::Settings show all
Defined in:
lib/datadog/tracing/contrib/rails/configuration/settings.rb

Overview

Custom settings for the Rails integration

Instance Method Summary collapse

Methods inherited from Configuration::Settings

#[], #[]=, #configure

Methods included from Core::Configuration::Base

included

Constructor Details

#initialize(options = {}) ⇒ Settings

Returns a new instance of Settings.



13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/datadog/tracing/contrib/rails/configuration/settings.rb', line 13

def initialize(options = {})
  super(options)

  # NOTE: Eager load these
  #       Rails integration is responsible for orchestrating other integrations.
  #       When using environment variables, settings will not be automatically
  #       filled because nothing explicitly calls them. They must though, so
  #       integrations like ActionPack can receive the value as it should.
  #       Trigger these manually to force an eager load and propagate them.
  analytics_enabled
  analytics_sample_rate
end