https://gitee.com/DanShenGuiZu/learnDemo/tree/master/actuator-learn/actuator01
/beans端点会返回Spring 容器中所有bean的别名、类型、是否单例、依赖等信息。
http://localhost:8080/actuator/beans
访问端点会自动生成一个Jvm的堆文件 。
http://localhost:8080/actuator/heapdump
http://localhost:8080/actuator/threaddump
要使用这个功能首先需要在配置文件中开启:
# 如果要开启/actuator/shutdown,要额外再加这一行
management.endpoint.shutdown.enabled=true
http://localhost:8080/actuator/shutdown