Class: Datadog::Tracing::Contrib::Sinatra::Configuration::Settings
- Inherits:
-
Configuration::Settings
- Object
- Configuration::Settings
- Datadog::Tracing::Contrib::Sinatra::Configuration::Settings
- Defined in:
- lib/datadog/tracing/contrib/sinatra/configuration/settings.rb
Overview
Custom settings for the Sinatra integration
Constant Summary collapse
- DEFAULT_HEADERS =
{ response: %w[Content-Type X-Request-ID] }.freeze
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.
-
#distributed_tracing ⇒ Object
Returns the value of attribute distributed_tracing.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#resource_script_names ⇒ Object
Returns the value of attribute resource_script_names.
-
#service_name ⇒ Object
Returns the value of attribute service_name.
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/sinatra/configuration/settings.rb', line 22 def analytics_enabled @analytics_enabled end |
#analytics_sample_rate ⇒ Object
Returns the value of attribute analytics_sample_rate.
27 28 29 |
# File 'lib/datadog/tracing/contrib/sinatra/configuration/settings.rb', line 27 def analytics_sample_rate @analytics_sample_rate end |
#distributed_tracing ⇒ Object
Returns the value of attribute distributed_tracing.
33 34 35 |
# File 'lib/datadog/tracing/contrib/sinatra/configuration/settings.rb', line 33 def distributed_tracing @distributed_tracing end |
#enabled ⇒ Object
Returns the value of attribute enabled.
16 17 18 |
# File 'lib/datadog/tracing/contrib/sinatra/configuration/settings.rb', line 16 def enabled @enabled end |
#headers ⇒ Object
Returns the value of attribute headers.
34 35 36 |
# File 'lib/datadog/tracing/contrib/sinatra/configuration/settings.rb', line 34 def headers @headers end |
#resource_script_names ⇒ Object
Returns the value of attribute resource_script_names.
35 36 37 |
# File 'lib/datadog/tracing/contrib/sinatra/configuration/settings.rb', line 35 def resource_script_names @resource_script_names end |
#service_name ⇒ Object
Returns the value of attribute service_name.
37 38 39 |
# File 'lib/datadog/tracing/contrib/sinatra/configuration/settings.rb', line 37 def service_name @service_name end |