本文共 740 字,大约阅读时间需要 2 分钟。
springboot admin用于管理和监控springboot程序,监控内容包括springboot的监控组件Actuator的各个http节点,也支持Turbine、Jmx等更高级的功能;
通过以下参数关闭Actuator模块的安全验证management: security: enabled: false
程序启动类通过@EnableAdminServer
注解开启AdminServer的功能,通过@EnableEurekaClient
注解开启Eureka Client功能
Hystrix Dashboard是一个监控熔断器状况的组件,而Turbine是一个聚合多个Hystrix Dashboard的组件。Springboot Admin中,可以很方便的集成Turbine组件,只需引入相关依赖并做简单配置即可。
Springboot Admin提供了非常好的组件化界面,生产环境中必须对这个界面进行安全验证,springboot admin提供了登录的组件,并且和SpringBoot Security相结合,需要用户登录才能访问Springboot Admin Server的界面。
de.codecentric spring-boot-admin-server-ui-login org.springframework.boot spring-boot-starter-security
security: user: name: admin password: 123456
转载地址:http://nbaxb.baihongyu.com/