Class: Datadog::Tracing::Contrib::Rails::Configuration::Settings
- Inherits:
-
Configuration::Settings
- Object
- Configuration::Settings
- Datadog::Tracing::Contrib::Rails::Configuration::Settings
- Defined in:
- lib/datadog/tracing/contrib/rails/configuration/settings.rb
Overview
Custom settings for the Rails integration
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Settings
constructor
A new instance of Settings.
Methods inherited from Configuration::Settings
Methods included from Core::Configuration::Base
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( = {}) super() # 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 |