微服务监控模块springboot Admin

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的界面。

<dependency>
    <groupId>de.codecentric</groupId>
    <artifactId>spring-boot-admin-server-ui-login</artifactId>
</dependency>
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-security</artifactId>
</dependency>
security:
  user:
    name: admin
    password: 123456
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值