Skip to content

Commit

Permalink
Fix default-enabled config (open-telemetry#6491)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask authored and LironKS committed Oct 23, 2022
1 parent 483f568 commit 8bcbbbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public boolean defaultEnabled() {
* themselves on some other condition.
*/
public boolean defaultEnabled(ConfigProperties config) {
return defaultEnabled();
return config.getBoolean("otel.instrumentation.common.default-enabled", true);
}

/**
Expand Down

0 comments on commit 8bcbbbb

Please sign in to comment.