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_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.
-
#on_error ⇒ Object
Returns the value of attribute on_error.
-
#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_sample_rate ⇒ Object
Returns the value of attribute analytics_sample_rate.
31 32 33 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 31 def analytics_sample_rate @analytics_sample_rate end |
#distributed_tracing ⇒ Object
Returns the value of attribute distributed_tracing.
37 38 39 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 37 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.
39 40 41 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 39 def error_handler @error_handler end |
#on_error ⇒ Object
Returns the value of attribute on_error.
44 45 46 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 44 def on_error @on_error end |
#peer_service ⇒ Object
Returns the value of attribute peer_service.
59 60 61 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 59 def peer_service @peer_service end |
#service_name ⇒ Object
Returns the value of attribute service_name.
50 51 52 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 50 def service_name @service_name end |
#split_by_domain ⇒ Object
Returns the value of attribute split_by_domain.
48 49 50 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 48 def split_by_domain @split_by_domain end |