Class: Datadog::Tracing::Contrib::Faraday::Configuration::Settings
- Inherits:
-
Configuration::Settings
- Object
- Configuration::Settings
- Datadog::Tracing::Contrib::Faraday::Configuration::Settings
- Defined in:
- lib/datadog/tracing/contrib/faraday/configuration/settings.rb
Overview
Custom settings for the Faraday integration
Constant Summary collapse
- DEFAULT_ERROR_HANDLER =
lambda do |env| Tracing::Metadata::Ext::HTTP::ERROR_RANGE.cover?(env[:status]) end
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.
-
#error_handler ⇒ Object
Returns the value of attribute error_handler.
-
#peer_service ⇒ Object
Returns the value of attribute peer_service.
-
#service_name ⇒ Object
Returns the value of attribute service_name.
-
#split_by_domain ⇒ Object
Returns the value of attribute split_by_domain.
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.
24 25 26 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 24 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/faraday/configuration/settings.rb', line 30 def analytics_sample_rate @analytics_sample_rate end |
#distributed_tracing ⇒ Object
Returns the value of attribute distributed_tracing.
36 37 38 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 36 def distributed_tracing @distributed_tracing end |
#enabled ⇒ Object
Returns the value of attribute enabled.
18 19 20 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 18 def enabled @enabled end |
#error_handler ⇒ Object
Returns the value of attribute error_handler.
37 38 39 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 37 def error_handler @error_handler end |
#peer_service ⇒ Object
Returns the value of attribute peer_service.
52 53 54 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 52 def peer_service @peer_service end |
#service_name ⇒ Object
Returns the value of attribute service_name.
43 44 45 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 43 def service_name @service_name end |
#split_by_domain ⇒ Object
Returns the value of attribute split_by_domain.
41 42 43 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 41 def split_by_domain @split_by_domain end |