opentracing-contrib / java-spring-jaeger

Apache License 2.0
256 stars 95 forks source link

[Help] how to disable a trace log flow. #150

Open chenshi5012 opened 1 year ago

chenshi5012 commented 1 year ago

i use opentracing.spring.web.url-patterns to allow some web entries. but the sub-span still be record.

see : I get two url enties: "/hello" "/test"

/hello->redis(set) /test -> redis(set)

opentracing.spring.web.url-patterns: /hello so the "/test" will be diable. but i want to disable the all flow.

I just want to record: /hello->redis . but the record shows 2 :

  1. /hello->redis(set)
  2. redis(set)

" 2.redis(set) " [a single trace log. and i dont want to record this.]

refer: 1./hello->redis(set) image

2.redis(set)
image

is there any sloution?