File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
custom/src/main/java/com/splunk/opentelemetry Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ private static boolean spanProcessorInstrumentationLibraryEnabled() {
3636 if (value == null ) {
3737 value = System .getenv (propertyToEnv (PROPERTY_SPAN_PROCESSOR_INSTR_LIB_ENABLED ));
3838 }
39- return ( "true" . equalsIgnoreCase (value ) );
39+ return Boolean . parseBoolean (value );
4040 }
4141
4242 private static boolean jdbcSpanLowCardinalityNameEnabled () {
@@ -45,7 +45,7 @@ private static boolean jdbcSpanLowCardinalityNameEnabled() {
4545 value = System .getenv (propertyToEnv (ENABLE_JDBC_SPAN_LOW_CARDINALITY_NAME_PROPERTY ));
4646 }
4747 // enabled by default
48- return value == null || "true" . equalsIgnoreCase (value );
48+ return value == null || Boolean . parseBoolean (value );
4949 }
5050
5151 @ Override
You can’t perform that action at this time.
0 commit comments