SpringCloud Hystrix指標(biāo)流

2023-11-22 11:51 更新

要啟用Hystrix指標(biāo)流,請(qǐng)包括對(duì)spring-boot-starter-actuator的依賴性并設(shè)置management.endpoints.web.exposure.include: hystrix.stream。這樣做將/actuator/hystrix.stream作為管理端點(diǎn)公開(kāi),如以下示例所示:

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-actuator</artifactId>
    </dependency>
以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)