Fix default-enabled config (#6491)
This commit is contained in:
parent
ea565a2e1c
commit
7f5d0cb5b7
|
@ -98,7 +98,7 @@ public abstract class InstrumentationModule implements Ordered {
|
||||||
* themselves on some other condition.
|
* themselves on some other condition.
|
||||||
*/
|
*/
|
||||||
public boolean defaultEnabled(ConfigProperties config) {
|
public boolean defaultEnabled(ConfigProperties config) {
|
||||||
return defaultEnabled();
|
return config.getBoolean("otel.instrumentation.common.default-enabled", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue