Search code examples
springwebsocketspring-cloudspring-cloud-sleuth

'spring.sleuth.integration.websockets.enable=false' doesn't disable tracing the websockets


I try to disable tracing WebSockets, so I put 'spring.sleuth.integration.websockets.enable=false' to my application.properties, but it seems it does nothing, WebSockets are still being traced.

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

This is the heartbeat to keep WebSocket alive, I think it should not be recorded if I disabled it

enter image description here enter image description here

enter image description here


Solution

  • You have a typo in the property, you're missing a d at the end [spring.sleuth.integration.websockets.enabled]