Skip to content

Sentinel的actuator/health 健康监测 #2020

@chenxu1992

Description

@chenxu1992

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

当我试用SpringbootAdmin对配置了sentinel的gateway进行监测时,报sentinel的actuator/health方法不存在。导致springbootAdmin无法监测gateway的健康状况

Describe what you expected to happen

监测到监控状况

How to reproduce it (as minimally and precisely as possible)

  1. springboot cloud gateway 配置sentinel
  2. gateway注册到springbootAdmin上
  3. 能看到监测到gateway启动了,但是健康情况无法监测。后台看了日志显示actuator/health方法不存在。如果在gateway的配置中设置management.health.sentinel.enabled=false则可以正常监测到

Tell us your environment

springboot 2.2.1
springcloud HOXTEN.SR1
JAVA VERSION 1.8
NACOS 1.8

Anything else we need to know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    integration/spring-cloudIssue related to Spring Cloud Alibaba integrationkind/questionCategory issues related to questions or problems

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions