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
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.
22 23 24 |
# File 'lib/datadog/tracing/contrib/rake/configuration/settings.rb', line 22 def analytics_enabled @analytics_enabled end |
#analytics_sample_rate ⇒ Object
Returns the value of attribute analytics_sample_rate.
28 29 30 |
# File 'lib/datadog/tracing/contrib/rake/configuration/settings.rb', line 28 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.
34 35 36 |
# File 'lib/datadog/tracing/contrib/rake/configuration/settings.rb', line 34 def quantize @quantize end |
#service_name ⇒ Object
Returns the value of attribute service_name.
35 36 37 |
# File 'lib/datadog/tracing/contrib/rake/configuration/settings.rb', line 35 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.
41 42 43 |
# File 'lib/datadog/tracing/contrib/rake/configuration/settings.rb', line 41 def tasks @tasks end |