Spring actuator metrics not visible from JMX console from 2.2.0 release onwards

Viewed 345

The simplest spring boot app created using start.spring.io, without no further changes to it. 3 dependencies are added spring-boot-starter-actuator, spring-boot-starter-web and spring-boot-devtools.

Spring Boot 2.4.0, 2.2.0 - org.springframework.boot metrics not visible

Spring Boot 2.1.0 or previous release - works

Behavior is same in jdk 11 and 15, macOS Catalina and windows.

'/actuator' path is accessible

But org.springframework.boot metrics not visible from JConsole or VisualVM when connected

What could it be for for significant change of behavior?

1 Answers

Added "micrometer-registry-jmx" dependency explicitly

Related