@@ -122,31 +122,31 @@ private static void start(Instrumentation instrumentation) throws Exception {
122122 int reportingIntervalSeconds = getMicrometerReportingIntervalSeconds (config , 60 );
123123 properties .put ("micrometer.step.millis" , Long .toString (SECONDS .toMillis (reportingIntervalSeconds )));
124124 if (!isInstrumentationEnabled (config , "micrometer" )) {
125- properties .put ("ota.integration .micrometer.enabled" , "false" );
125+ properties .put ("otel.instrumentation .micrometer.enabled" , "false" );
126126 }
127127 if (!isInstrumentationEnabled (config , "jdbc" )) {
128- properties .put ("ota.integration .jdbc.enabled" , "false" );
128+ properties .put ("otel.instrumentation .jdbc.enabled" , "false" );
129129 }
130130 if (!isInstrumentationEnabled (config , "logging" )) {
131- properties .put ("ota.integration .log4j.enabled" , "false" );
132- properties .put ("ota.integration .java-util-logging.enabled" , "false" );
133- properties .put ("ota.integration .logback.enabled" , "false" );
131+ properties .put ("otel.instrumentation .log4j.enabled" , "false" );
132+ properties .put ("otel.instrumentation .java-util-logging.enabled" , "false" );
133+ properties .put ("otel.instrumentation .logback.enabled" , "false" );
134134 }
135135 if (!isInstrumentationEnabled (config , "redis" )) {
136- properties .put ("ota.integration .jedis.enabled" , "false" );
137- properties .put ("ota.integration .lettuce.enabled" , "false" );
136+ properties .put ("otel.instrumentation .jedis.enabled" , "false" );
137+ properties .put ("otel.instrumentation .lettuce.enabled" , "false" );
138138 }
139139 if (!isInstrumentationEnabled (config , "kafka" )) {
140- properties .put ("ota.integration .kafka.enabled" , "false" );
140+ properties .put ("otel.instrumentation .kafka.enabled" , "false" );
141141 }
142142 if (!isInstrumentationEnabled (config , "mongo" )) {
143- properties .put ("ota.integration .mongo.enabled" , "false" );
143+ properties .put ("otel.instrumentation .mongo.enabled" , "false" );
144144 }
145145 if (!isInstrumentationEnabled (config , "cassandra" )) {
146- properties .put ("ota.integration .cassandra.enabled" , "false" );
146+ properties .put ("otel.instrumentation .cassandra.enabled" , "false" );
147147 }
148148 if (!config .preview .openTelemetryApiSupport ) {
149- properties .put ("ota.integration .opentelemetry-api.enabled" , "false" );
149+ properties .put ("otel.instrumentation .opentelemetry-api.enabled" , "false" );
150150 }
151151 Config .internalInitializeConfig (Config .create (properties ));
152152 if (Config .get ().getListProperty ("additional.bootstrap.package.prefixes" ).isEmpty ()) {
0 commit comments