【发布时间】:2018-11-16 15:10:33
【问题描述】:
是否可以通过类似于 spring-boot 1.5 的方式获取 hystrix 指标信息?
在 1.5 公制端点中,我有这样的东西:
"gauge.servo.hystrix.hystrixcommand.[service-name].[method].errorcount": 0,
"gauge.servo.hystrix.hystrixcommand.[service-name].[method].requestcount": 0,
"gauge.servo.hystrix.hystrixcommand.[service-name].[method].latencytotal_mean": 0,
但是现在有了使用 Micrometer 的执行器/度量端点,我找不到对“hystrix”、“netflix”等术语的任何引用。
我已经用@EnableCircuitBreaker 和hystrix:metrics:enabled: true 配置了我的应用程序。
有什么方法可以在不使用 hystrix.stream 端点的情况下获取这些信息,就像我以前能够做到的那样?或者这应该有效,我做错了什么吗?
【问题讨论】:
标签: spring-boot hystrix spring-boot-actuator