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.
936 937 938 |
# File 'lib/datadog/core/configuration/settings.rb', line 936 def boot_timeout_seconds @boot_timeout_seconds end |
#enabled ⇒ Boolean
Enable remote configuration. This allows fetching of remote configuration for live updates.
901 902 903 |
# File 'lib/datadog/core/configuration/settings.rb', line 901 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.
948 949 950 |
# File 'lib/datadog/core/configuration/settings.rb', line 948 def service @service end |