Skip to content

Commit 0e49186

Browse files
authored
fix default value for when the otel.smp.enabled property is not set (#601)
1 parent 5180afe commit 0e49186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awsagentprovider/src/main/java/software/amazon/opentelemetry/javaagent/providers/AwsAppSignalsCustomizerProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void customize(AutoConfigurationCustomizer autoConfiguration) {
6363
}
6464

6565
private boolean isSmpEnabled(ConfigProperties configProps) {
66-
return configProps.getBoolean("otel.smp.enabled", true);
66+
return configProps.getBoolean("otel.smp.enabled", false);
6767
}
6868

6969
private Sampler customizeSampler(Sampler sampler, ConfigProperties configProps) {

0 commit comments

Comments
 (0)