Class: Datadog::Tracing::Contrib::Rack::Configuration::Settings
- Inherits:
-
Configuration::Settings
- Object
- Configuration::Settings
- Datadog::Tracing::Contrib::Rack::Configuration::Settings
- Defined in:
- lib/datadog/tracing/contrib/rack/configuration/settings.rb
Overview
Custom settings for the Rack 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.
-
#application ⇒ Object
Returns the value of attribute application.
-
#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.
-
#middleware_names ⇒ Object
Returns the value of attribute middleware_names.
-
#quantize ⇒ Object
Returns the value of attribute quantize.
-
#request_queuing ⇒ Object
Returns the value of attribute request_queuing.
-
#service_name ⇒ Object
Returns the value of attribute service_name.
-
#web_service_name ⇒ Object
Returns the value of attribute web_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.
25 26 27 |
# File 'lib/datadog/tracing/contrib/rack/configuration/settings.rb', line 25 def analytics_enabled @analytics_enabled end |
#analytics_sample_rate ⇒ Object
Returns the value of attribute analytics_sample_rate.
30 31 32 |
# File 'lib/datadog/tracing/contrib/rack/configuration/settings.rb', line 30 def analytics_sample_rate @analytics_sample_rate end |
#application ⇒ Object
Returns the value of attribute application.
36 37 38 |
# File 'lib/datadog/tracing/contrib/rack/configuration/settings.rb', line 36 def application @application end |
#distributed_tracing ⇒ Object
Returns the value of attribute distributed_tracing.
37 38 39 |
# File 'lib/datadog/tracing/contrib/rack/configuration/settings.rb', line 37 def distributed_tracing @distributed_tracing end |
#enabled ⇒ Object
Returns the value of attribute enabled.
19 20 21 |
# File 'lib/datadog/tracing/contrib/rack/configuration/settings.rb', line 19 def enabled @enabled end |
#headers ⇒ Object
Returns the value of attribute headers.
38 39 40 |
# File 'lib/datadog/tracing/contrib/rack/configuration/settings.rb', line 38 def headers @headers end |
#middleware_names ⇒ Object
Returns the value of attribute middleware_names.
39 40 41 |
# File 'lib/datadog/tracing/contrib/rack/configuration/settings.rb', line 39 def middleware_names @middleware_names end |
#quantize ⇒ Object
Returns the value of attribute quantize.
40 41 42 |
# File 'lib/datadog/tracing/contrib/rack/configuration/settings.rb', line 40 def quantize @quantize end |
#request_queuing ⇒ Object
Returns the value of attribute request_queuing.
41 42 43 |
# File 'lib/datadog/tracing/contrib/rack/configuration/settings.rb', line 41 def request_queuing @request_queuing end |
#service_name ⇒ Object
Returns the value of attribute service_name.
45 46 47 |
# File 'lib/datadog/tracing/contrib/rack/configuration/settings.rb', line 45 def service_name @service_name end |
#web_service_name ⇒ Object
Returns the value of attribute web_service_name.
47 48 49 |
# File 'lib/datadog/tracing/contrib/rack/configuration/settings.rb', line 47 def web_service_name @web_service_name end |