[spring-boot] 健康情况监控

pom文件git

 <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

从新启动程序:github

详细参考如下博客spring

https://blog.csdn.net/qq_35915384/article/details/80203768spring-boot

 

一种简洁可视化的监控报表spring-boot-admin网站

服务端:.net

  新建立一个spring-boot项目code

  https://github.com/ 进入github 搜索 spring-boot admin 找到最新版本blog

  

  拿到POM文件放到admin服务端项目里面get

  

   增长三个注解到AdminApplication中,第一个注解和第二个注解在@SpringBootApplication 已经包含,加入另外一个就能够了博客

   启动项目,进行访问

  

 

客户端:

 回到咱们的admin github官网,找到客户端的配置导入到咱们的客户端项目里面去

 

    配置完成后从新启动项目,从新打开服务端网站

启动后,右下角弹出两个监控标识??

 

 

相关文章
相关标签/搜索