Summary
After upgrading my service to Spring Boot 4.0.0, Micrometer metrics are no longer being exported to Azure Application Insights. My investigation suggests the Azure Application Insights Java agent does not yet support Spring Boot 4.0.0.
Expected behavior
Micrometer metrics (JVM metrics, custom metrics) should be visible in Azure Application Insights / Azure Monitor metrics for Spring Boot service after deployment.
Actual behavior
After upgrading to Spring Boot 4.0.0, no Micrometer metrics appear in Application Insights for the service, despite the app running normally.
To Reproduce
Application is started with the Application Insights Java agent loaded using -javaagent:agent.jar parameter.
System information
Application Insights Java agent 3.7.6
Spring Boot 4.0.0
Screenshots
Following screenshots has been done when debugging Spring Boot application in IntelliJ with Application Insights Java agent attached.
Beans of io.micrometer.core.instrument.MeterRegistry type in the Spring Boot 3.5.8 application:

Beans of io.micrometer.core.instrument.MeterRegistry type after upgrade to Spring Boot 4.0.0:
