SpringBoot2.0 基础案例(16):配置Actuator组件,实现项目监控( 四 )

1、Info接口

Yml文件中配置的项目基础信息

路径:http://localhost:8016/monitor/info

输出:

{

"app": {

"name": "node16-boot-actuator",

"port": 8016,

"version": "1.0.0",

"author": "cicada"

}

}

2、Health接口

health 主要用来检查应用的运行状态

路径:http://localhost:8016/monitor/health

输出:

{

"status": "UP",

"details": {

推荐阅读