Class: Datadog::Core::Configuration::Settings::DSL::Remote
- Inherits:
-
Object
- Object
- Datadog::Core::Configuration::Settings::DSL::Remote
- Defined in:
- lib/datadog/core/configuration/settings.rb
Overview
Remote configuration
Instance Attribute Summary collapse
-
#boot_timeout_seconds ⇒ Float
Tune remote configuration boot timeout.
-
#enabled ⇒ Boolean
Enable remote configuration.
-
#service ⇒ String?
Declare service name to bind to remote configuration.
Instance Attribute Details
#boot_timeout_seconds ⇒ Float
Tune remote configuration boot timeout. Early operations such as requests are blocked until RC is ready. In order to not block the application indefinitely a timeout is enforced allowing requests to proceed with the local configuration.
899 900 901 |
# File 'lib/datadog/core/configuration/settings.rb', line 899 def boot_timeout_seconds @boot_timeout_seconds end |
#enabled ⇒ Boolean
Enable remote configuration. This allows fetching of remote configuration for live updates.
864 865 866 |
# File 'lib/datadog/core/configuration/settings.rb', line 864 def enabled @enabled end |
#service ⇒ String?
Declare service name to bind to remote configuration. Use when DD_SERVICE does not match the correct integration for which remote configuration applies.
911 912 913 |
# File 'lib/datadog/core/configuration/settings.rb', line 911 def service @service end |