From 0e49186da9f472485f2fd287b36a462eb8fa6292 Mon Sep 17 00:00:00 2001 From: Prashant Srivastava <50466688+srprash@users.noreply.github.com> Date: Wed, 15 Nov 2023 10:32:53 -0800 Subject: [PATCH] fix default value for when the otel.smp.enabled property is not set (#601) --- .../javaagent/providers/AwsAppSignalsCustomizerProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awsagentprovider/src/main/java/software/amazon/opentelemetry/javaagent/providers/AwsAppSignalsCustomizerProvider.java b/awsagentprovider/src/main/java/software/amazon/opentelemetry/javaagent/providers/AwsAppSignalsCustomizerProvider.java index 3560a8384..2c2aae6db 100644 --- a/awsagentprovider/src/main/java/software/amazon/opentelemetry/javaagent/providers/AwsAppSignalsCustomizerProvider.java +++ b/awsagentprovider/src/main/java/software/amazon/opentelemetry/javaagent/providers/AwsAppSignalsCustomizerProvider.java @@ -63,7 +63,7 @@ public void customize(AutoConfigurationCustomizer autoConfiguration) { } private boolean isSmpEnabled(ConfigProperties configProps) { - return configProps.getBoolean("otel.smp.enabled", true); + return configProps.getBoolean("otel.smp.enabled", false); } private Sampler customizeSampler(Sampler sampler, ConfigProperties configProps) {