From fe9f17c2d38142628c7cc044d33e28156d4d0bfc Mon Sep 17 00:00:00 2001 From: Nenad Noveljic <18366081+nenadnoveljic@users.noreply.github.com> Date: Thu, 9 Jan 2025 15:15:47 +0100 Subject: [PATCH] default --- pkg/config/setup/apm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/setup/apm.go b/pkg/config/setup/apm.go index 064c363ef9f1c8..54053d7e4853c1 100644 --- a/pkg/config/setup/apm.go +++ b/pkg/config/setup/apm.go @@ -154,7 +154,7 @@ func setupAPM(config pkgconfigmodel.Setup) { config.BindEnv("apm_config.obfuscation.credit_cards.enabled", "DD_APM_OBFUSCATION_CREDIT_CARDS_ENABLED") config.BindEnv("apm_config.obfuscation.credit_cards.luhn", "DD_APM_OBFUSCATION_CREDIT_CARDS_LUHN") config.BindEnv("apm_config.obfuscation.credit_cards.keep_values", "DD_APM_OBFUSCATION_CREDIT_CARDS_KEEP_VALUES") - config.BindEnv("apm_config.sql_obfuscation_mode", "DD_APM_SQL_OBFUSCATION_MODE") + config.BindEnvAndSetDefault("apm_config.sql_obfuscation_mode", "", "DD_APM_SQL_OBFUSCATION_MODE") config.BindEnvAndSetDefault("apm_config.debug.port", 5012, "DD_APM_DEBUG_PORT") config.BindEnv("apm_config.features", "DD_APM_FEATURES") config.ParseEnvAsStringSlice("apm_config.features", func(s string) []string {