Class: Datadog::Tracing::Contrib::Rake::Configuration::Settings

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

Overview

Custom settings for the Rake integration

Instance Attribute Summary collapse

Method Summary

Methods inherited from Configuration::Settings

#[], #[]=, #configure

Methods included from Core::Configuration::Base

included

Instance Attribute Details

#analytics_enabledObject

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_rateObject

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

#enabledObject

Returns the value of attribute enabled.



16
17
18
# File 'lib/datadog/tracing/contrib/rake/configuration/settings.rb', line 16

def enabled
  @enabled
end

#quantizeObject

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_nameObject

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

#tasksObject

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