Spring I don't want option request going trace l useing tracing time Map the interface of option to it l need I want to provide a way to ignore interface types without introducing option requests 。 I don't think intercepting option requests is necessary Spring I don't want option request going trace

Comment From: bclozel

Sorry but we can't help you now - a couple of screenshots is not enough to diagnose the problem. Can you at least provide a link to the class you're pointing at?

Comment From: huangmiao

when using zipkin I hope to filter out option requests in Spring

Comment From: huangmiao

Because the option request does not help zipkin at all

Comment From: huangmiao

Spring I don't want option request going trace Can I provide a filtering scheme in the trace ServerHttpObservationFilter

Comment From: bclozel

I don't understand, the code snippet you've shared in your first comment does not belong to ServerHttpObservationFilter.

Comment From: huangmiao

Spring I don't want option request going trace There is no place to ignore trace in the doFilterInter

Comment From: bclozel

I think you should use an ObservationPredicate for that, see the Micrometer documentation.

Comment From: huangmiao

I wonder if I can set Ignore Options requests. I think the URL is disabled in the global setting

Comment From: huangmiao

This writing method will be intercepted first Spring I don't want option request going trace