【问题标题】:'spring.sleuth.integration.websockets.enable=false' doesn't disable tracing the websockets'spring.sleuth.integration.websockets.enable=false' 不会禁用跟踪 websocket
【发布时间】:2020-03-28 05:56:06
【问题描述】:

我尝试禁用跟踪 WebSockets,所以我将“spring.sleuth.integration.websockets.enable=false”放入了我的 application.properties,但它似乎什么也没做,仍在跟踪 WebSockets。

spring.zipkin.baseUrl=https://192.168.99.100:9411/
spring.zipkin.service.name=chatserver
spring.zipkin.sender.type=web
spring.sleuth.sampler.probability=1
spring.sleuth.integration.websockets.enable=false

这是保持WebSocket存活的心跳,我认为如果我禁用它就不应该记录它

【问题讨论】:

    标签: spring websocket spring-cloud spring-cloud-sleuth


    【解决方案1】:

    您在属性中有错字,最后缺少一个 d [spring.sleuth.integration.websockets.enabled]

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-05-27
      • 1970-01-01
      • 1970-01-01
      • 2013-02-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-09-28
      相关资源
      最近更新 更多