Fix default-enabled config (#6491)

This commit is contained in:
Trask Stalnaker 2022-08-19 12:41:08 -07:00 committed by GitHub
parent ea565a2e1c
commit 7f5d0cb5b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ public abstract class InstrumentationModule implements Ordered {
* themselves on some other condition.
*/
public boolean defaultEnabled(ConfigProperties config) {
return defaultEnabled();
return config.getBoolean("otel.instrumentation.common.default-enabled", true);
}
/**