Skip to content

Commit 516348f

Browse files
committed
comment
1 parent 0e5d1a3 commit 516348f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/init/AiConfigCustomizer.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ private static void enableInstrumentations(
189189
properties.put("otel.instrumentation.undertow.enabled", "true");
190190

191191
if (config.instrumentation.micrometer.enabled) {
192-
// ai micrometer instrumentation is still used for micrometer versions prior to 1.5
192+
// upstream micrometer instrumentation only supports micrometer 1.5 and later
193+
// so ai micrometer instrumentation is (still) used for micrometer versions prior to 1.5
193194
properties.put("otel.instrumentation.ai-micrometer.enabled", "true");
194195
properties.put("otel.instrumentation.ai-actuator-metrics.enabled", "true");
195196
// upstream micrometer instrumentation is used for micrometer versions 1.5+

0 commit comments

Comments
 (0)