Skip to content

Commit

Permalink
fix default value for when the otel.smp.enabled property is not set (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
srprash authored Nov 15, 2023
1 parent 5180afe commit 0e49186
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0e49186

Please sign in to comment.