Don't String.format when determining if instrumentation is enabled.
@@ -142,7 +142,7 @@ public abstract class Config {
// if default is disabled, we want to disable individually.
boolean anyEnabled = defaultEnabled;
for (String name : instrumentationNames) {
- String propertyName = String.format("otel.instrumentation.%s.%s", name, suffix);
+ String propertyName = "otel.instrumentation." + name + '.' + suffix;
boolean enabled = getBooleanProperty(propertyName, defaultEnabled);
if (defaultEnabled) {
