'spring.sleuth.integration.websockets.enable = false'不会禁止跟踪网络套接字

时间:2019-12-03 14:06:53

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

我尝试禁用跟踪WebSocket,因此我在application.properties中放入了“ spring.sleuth.integration.websockets.enable = false”,但似乎无济于事,WebSocket仍在跟踪中。

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保持活动状态的心跳,我认为如果禁用它,则不应将其记录

enter image description here enter image description here

enter image description here

1 个答案:

答案 0 :(得分:0)

该属性中有一个错字,结尾[spring.sleuth.integration.websockets.enabled]缺少d。