spring-boot-admin结合consul实现动态client监控
目的:使用springboot-admin作为监控端监控springboot节点 将springboot-admin-server注册到consul 客户端自动发现 自动注册
创建springboot-admin-server服务
pom
  | 
启动类
  | 
application.yml配置
server:  | 
创建springboot-admin-client服务
pom
  | 
启动类
重点 bootstrap.yml
spring:  | 
consul 配置中心配置
spring:  | 

运行成功截图



客户端信息

All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
 Comment





