Class: Datadog::Tracing::Contrib::Rake::Configuration::Settings
- Inherits:
-
Configuration::Settings
- Object
- Configuration::Settings
- Datadog::Tracing::Contrib::Rake::Configuration::Settings
- Defined in:
- lib/datadog/tracing/contrib/rake/configuration/settings.rb
Overview
Custom settings for the Rake integration
Constant Summary
Constants inherited from Configuration::Settings
Configuration::Settings::DEPRECATION_WARN_ONLY_ONCE
Instance Attribute Summary collapse
-
#analytics_enabled ⇒ Object
Returns the value of attribute analytics_enabled.
-
#analytics_sample_rate ⇒ Object
Returns the value of attribute analytics_sample_rate.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#quantize ⇒ Object
Returns the value of attribute quantize.
-
#service_name ⇒ Object
Returns the value of attribute service_name.
-
#tasks ⇒ Object
A list of rake tasks, using their string names, to be instrumented.
Method Summary
Methods inherited from Configuration::Settings
Methods included from Core::Configuration::Base
Instance Attribute Details
#analytics_enabled ⇒ Object
Returns the value of attribute analytics_enabled.
21 22 23 |
# File 'lib/datadog/tracing/contrib/rake/configuration/settings.rb', line 21 def analytics_enabled @analytics_enabled end |
#analytics_sample_rate ⇒ Object
Returns the value of attribute analytics_sample_rate.
26 27 28 |
# File 'lib/datadog/tracing/contrib/rake/configuration/settings.rb', line 26 def analytics_sample_rate @analytics_sample_rate end |
#enabled ⇒ Object
Returns the value of attribute enabled.
16 17 18 |
# File 'lib/datadog/tracing/contrib/rake/configuration/settings.rb', line 16 def enabled @enabled end |
#quantize ⇒ Object
Returns the value of attribute quantize.
31 32 33 |
# File 'lib/datadog/tracing/contrib/rake/configuration/settings.rb', line 31 def quantize @quantize end |
#service_name ⇒ Object
Returns the value of attribute service_name.
32 33 34 |
# File 'lib/datadog/tracing/contrib/rake/configuration/settings.rb', line 32 def service_name @service_name end |
#tasks ⇒ Object
A list of rake tasks, using their string names, to be instrumented. An empty list, or not setting this option means no task is instrumented. Automatically instrumenting all Rake tasks can lead to long-running tasks causing undue memory accumulation, as the trace for such tasks is never flushed.
38 39 40 |
# File 'lib/datadog/tracing/contrib/rake/configuration/settings.rb', line 38 def tasks @tasks end |