From Spring Boot 2.2, JMX is disabled by default. You can enable it:
- From a JVM property
-Dspring.jmx.enabled=true
- From a .properties file
spring.jmx.enabled=true
- From a YAML file
spring:
jmx:
enabled: true
It is possible to exclude some URLs like this:
- From a .properties file
quickperf.exclude-urls=/manage,/actuator
- From a YAML file
quickperf:
exclude-urls: /manage,/actuator
URLs should be comma seperated. By default, /actuator is excluded but if you want to add new URLs, you should add /actuator path as mentioned above.