spring-boot-actuator入门实用教程
是 spring-boot 周边组件之一,主要是用来查询或监控 spring-boot 项目各种组件、各种维度的度量指标,比如环境变量信息、日志级别、spring bean 信息、组件(redis、mq、db)健康状态等,可以通过 jmx 技术或者 http 技术来使用 actuator,下面主要是通过 http 技术来讲解其使用方法以及自定义 endpoint 端点信息和 health indicator 健康状况指示信息。
2、启动项目,并访问地址 http://localhost:8081/actua
原创
2022-06-04 22:56:02 ·
2787 阅读 ·
0 评论