You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
when integrating sleuth into spring-cloud-gateway every request creates two spans. the root span (created by httpclientbeanpostprocessor) is always a request aggainst "/". No matter what the actual request looks like. The second span is based on the actual request and created by TraceWebFilter
Sample
Create a basic project with spring-initializer containing spring-cloud-gateway, sleuth and a reporter/sender of your choice (i used both zipkin and google compute for testing). Configure a route and make a request.
In 3.0.0-SNAPSHOT and the upcoming milestone release we have done a lot of work in making the reactive approach work better with Spring Cloud Sleuth. Since Spring Cloud Gateway is fully reactive, with the following changes you'll be able to speed things up and get consistent results.
Describe the bug
when integrating sleuth into spring-cloud-gateway every request creates two spans. the root span (created by
httpclientbeanpostprocessor
) is always a request aggainst "/". No matter what the actual request looks like. The second span is based on the actual request and created byTraceWebFilter
Sample
Create a basic project with spring-initializer containing spring-cloud-gateway, sleuth and a reporter/sender of your choice (i used both zipkin and google compute for testing). Configure a route and make a request.
The exact trace content depends on your dependencies. Zipkin names the root span "GET". GCP names it "/". both a not usable.
The text was updated successfully, but these errors were encountered: