Merge branch 'master' of github.com:heibaiying/Spring-All-In-One
This commit is contained in:
commit
5b9d8133d8
@ -140,7 +140,7 @@ management:
|
||||
|
||||
#### 1.4 查看监控状态
|
||||
|
||||
导入actuator 的 start 并进行配置后,访问http://127.0.0.1:8080/actuator/health就可以看到对应的项目监控状态。
|
||||
导入actuator 的 start 并进行配置后,访问http://127.0.0.1:8080/actuator/health 就可以看到对应的项目监控状态。
|
||||
|
||||
<div align="center"> <img src="https://github.com/heibaiying/spring-samples-for-all/blob/master/pictures/health.png"/> </div>
|
||||
|
||||
@ -224,7 +224,7 @@ public class CustomHealthAggregator implements HealthAggregator {
|
||||
}
|
||||
```
|
||||
|
||||
这是当我们自定义健康检查不通过时候的结果如下:
|
||||
当我们自定义健康检查不通过时候的结果如下:
|
||||
|
||||
<div align="center"> <img src="https://github.com/heibaiying/spring-samples-for-all/blob/master/pictures/actuator-heath-503.png"/> </div>
|
||||
|
||||
@ -311,4 +311,4 @@ public class CustomEndPoint {
|
||||
|
||||
Sigar 下载包中也提供了各种参数的参考用例:
|
||||
|
||||
<div align="center"> <img src="https://github.com/heibaiying/spring-samples-for-all/blob/master/pictures/sigar.png"/> </div>
|
||||
<div align="center"> <img src="https://github.com/heibaiying/spring-samples-for-all/blob/master/pictures/sigar.png"/> </div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user