diff --git a/lib/datadog/core/configuration/settings.rb b/lib/datadog/core/configuration/settings.rb index 3edffa85348..cebeec0309c 100644 --- a/lib/datadog/core/configuration/settings.rb +++ b/lib/datadog/core/configuration/settings.rb @@ -541,7 +541,7 @@ def initialize(*_) # Tune remote configuration polling interval. # - # @default `DD_REMOTE_CONFIGURATION_POLL_INTERVAL_SECONDS` environment variable, otherwise `5.0` seconds. + # @default `DD_REMOTE_CONFIG_POLL_INTERVAL_SECONDS` environment variable, otherwise `5.0` seconds. # @return [Float] option :poll_interval_seconds do |o| o.default { env_to_float(Core::Remote::Ext::ENV_POLL_INTERVAL_SECONDS, 5.0) } diff --git a/lib/datadog/core/remote/ext.rb b/lib/datadog/core/remote/ext.rb index 833aaec1362..a9bd38f744f 100644 --- a/lib/datadog/core/remote/ext.rb +++ b/lib/datadog/core/remote/ext.rb @@ -5,7 +5,7 @@ module Core module Remote module Ext ENV_ENABLED = 'DD_REMOTE_CONFIGURATION_ENABLED' - ENV_POLL_INTERVAL_SECONDS = 'DD_REMOTE_CONFIGURATION_POLL_INTERVAL_SECONDS' + ENV_POLL_INTERVAL_SECONDS = 'DD_REMOTE_CONFIG_POLL_INTERVAL_SECONDS' end end end