We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ee1181 commit 77fa4cbCopy full SHA for 77fa4cb
instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/OpenTelemetryDriver.java
@@ -86,6 +86,9 @@ private static SqlCommenter getSqlCommenter(OpenTelemetry openTelemetry) {
86
ConfigPropertiesUtil.getBoolean(
87
"otel.instrumentation.common.experimental.db-sqlcommenter.enabled");
88
}
89
+ if (enabled == null) {
90
+ enabled = false; // default value
91
+ }
92
return SqlCommenter.builder().setEnabled(enabled).build();
93
94
0 commit comments