dyc87112 / blog-comments

5 stars 1 forks source link

Spring Cloud实战小贴士:turbine如何聚合设置了context-path的hystrix数据 | 程序猿DD #195

Open dyc87112 opened 6 years ago

dyc87112 commented 6 years ago

http://blog.didispace.com/spring-cloud-tips-4/

之前在spring for all社区看到这样一个问题:当actuator端点设置了context-path之后,turbine如何聚合数据?首先,我们要知道actuator端点设置了context-path是什么意思?也就是说,此时spring boot actuator的端点都有了一个前缀,比如: manageme

chinaTLJ commented 5 years ago

我把management.context-path=/xxx 加在微服务里的 把turbine.instanceUrlSuffix=/xxx/hystrix.stream加在网关里的,我的监控集成在网关里的 可是没有用啊,还是报错。