1 actuator可以做应用监听
2 检测应用的监控状况,包括链接的中间件健康状况
使用
http://172.16.66.42:9905/actuator/health
3 可以查看应用最终使用的环境配置信息
http://172.16.66.42:9905/actuator/env
4 可以对单个属性最终使用进行查看
http://172.16.66.42:9905/actuator/env/local.server.port
5 可以查看actuator可以使用那些接口调用查看
http://172.16.66.42:9905/actuator
响应:
{"_links":{"self":{"href":"http://172.16.66.42:9905/actuator","templated":false},"health":{"href":"http://172.16.66.42:9905/actuator/health","templated":false},"health-component-instance":{"href":"http://172.16.66.42:9905/actuator/health/{component}/{instance}","templated":true},"health-component":{"href":"http://172.16.66.42:9905/actuator/health/{component}","templated":true},"env-toMatch":{"href":"http://172.16.66.42:9905/actuator/env/{toMatch}","templated":true},"env":{"href":"http://172.16.66.42:9905/actuator/env","templated":false},"info":{"href":"http://172.16.66.42:9905/actuator/info","templated":false}}}