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_status_codes ⇒ Object
Returns the value of attribute error_status_codes.
-
#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.
33 34 35 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 33 def analytics_sample_rate @analytics_sample_rate end |
#distributed_tracing ⇒ Object
Returns the value of attribute distributed_tracing.
39 40 41 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 39 def distributed_tracing @distributed_tracing end |
#enabled ⇒ Object
Returns the value of attribute enabled.
20 21 22 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 20 def enabled @enabled end |
#error_status_codes ⇒ Object
Returns the value of attribute error_status_codes.
45 46 47 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 45 def error_status_codes @error_status_codes end |
#on_error ⇒ Object
Returns the value of attribute on_error.
41 42 43 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 41 def on_error @on_error end |
#peer_service ⇒ Object
Returns the value of attribute peer_service.
68 69 70 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 68 def peer_service @peer_service end |
#service_name ⇒ Object
Returns the value of attribute service_name.
58 59 60 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 58 def service_name @service_name end |
#split_by_domain ⇒ Object
Returns the value of attribute split_by_domain.
56 57 58 |
# File 'lib/datadog/tracing/contrib/faraday/configuration/settings.rb', line 56 def split_by_domain @split_by_domain end |