in application.properties, add this
management.endpoints.web.exposure.include=*
management.endpoint.shutdown.enabled=true
and restart. hit this:
http://localhost:8080/actuator/beans
You can see the definition of all the Spring beans
Tutorial here http://www.baeldung.com/spring-boot-actuators
http://localhost:8080/actuator/auditevents
http://localhost:8080/actuator/conditions
http://localhost:8080/actuator/configprops
http://localhost:8080/actuator/env
http://localhost:8080/actuator/flyway (fail)
http://localhost:8080/actuator/health
http://localhost:8080/actuator/heapdump , this will save a file heapdump, rename it to heapdump.hprof, then open it with Eclipse Memory Analyzer Tool (MemoryAnalyzer.exe on Windows)
http://localhost:8080/actuator/info
http://localhost:8080/actuator/liquibase (fail)
http://localhost:8080/actuator/logfile
http://localhost:8080/actuator/loggers
http://localhost:8080/actuator/threaddump
http://localhost:8080/actuator/metrics
http://localhost:8080/actuator/metrics/jvm.memory.max
http://localhost:8080/actuator/scheduledtasks
http://localhost:8080/actuator/httptrace
http://localhost:8080/actuator/mappings
http://localhost:8080/actuator/prometheus (fail)
http://localhost:8080/actuator/sessions (fail)
http://localhost:8080/actuator/shutdown (fail)
http://localhost:8080/actuator/jolokia (fail)
Saturday, June 2, 2018
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment