From 679e81a6d2b83c12fe37aa590f82eb2160ecadf3 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Wed, 19 Oct 2022 15:39:21 +0200 Subject: [PATCH] Default to disable http.client_ip tag collection --- lib/datadog/core/configuration/settings.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/datadog/core/configuration/settings.rb b/lib/datadog/core/configuration/settings.rb index fe0c6cb058d..1fceab20b27 100644 --- a/lib/datadog/core/configuration/settings.rb +++ b/lib/datadog/core/configuration/settings.rb @@ -670,10 +670,10 @@ def initialize(*_) # @see https://docs.datadoghq.com/tracing/configure_data_security#configuring-a-client-ip-header # # @default The negated value of the `DD_TRACE_CLIENT_IP_HEADER_DISABLED` environment - # variable or `true` if it doesn't exist. + # variable or `false` if it doesn't exist. # @return [Boolean] option :enabled do |o| - o.default { !env_to_bool(Tracing::Configuration::Ext::ClientIp::ENV_DISABLED, false) } + o.default { !env_to_bool(Tracing::Configuration::Ext::ClientIp::ENV_DISABLED, true) } o.lazy end