Existing Span id not propagated to Spring OAuth server
See original GitHub issueI have created three application
- Spring Cloud Gateway (GS)
- Spring Resource Server (RS)
- Spring Oauth Server (OS)
I do an api request to Resource server via Gateway server , the Span Id and Trace Id are generated and propagated to RS , since RS is a protected resource , it first validates the bearer token
in the request with Oauth Server , here instead of passing the same span id ,a new span id is generated and because of this Zipkin UI displays two distinct request .
I am using
Spring cloud Greenwich.Release
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Spring Cloud Sleuth
The span context is the state that must get propagated to any child spans across process boundaries. Part of the Span Context is...
Read more >Tracing a Reactive Kotlin App with Spring Cloud Sleuth
“Allows to create a new span around a public method. The new span will be either a child of an existing span if...
Read more >add custom baggage to current span and accessed by log MDC
the problem is the logs doesn't contain my custom context-id, context-type, although is see it in the span context. what i'm missing ?...
Read more >Distributed tracing with Spring Cloud Sleuth and Zipkin
Manage the propagation of the correlation ID to outbound service calls so that the correlation ID for a transaction is automatically added to...
Read more >Distributed Tracing with Spring Cloud Sleuth And Zipkin
The span id “B” covers the time from when the client at server 1 sent out the request, then server 2 receiving it,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi , I know it has been a long time and due to some reasons i could not upload a sample. Last week i thought i give it a try with latest release Hoxton.SR4 still stuck with same issue .
I have uploaded the sample application Spring-Zipkin-Sleuth-Oauth-Sample
any help would be appreciated. Thanks.
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.