Comments (5)
@elgris the client interceptor what is in master automatically links the correct parent. Please reopen if there is still this issue
from java-spring-web.
@pavolloffay can you tell me where automatic linking is done in the interceptor? Because with tracer.buildSpan we do not inject any parent context? At least I don't see it on the master branch.
When I use rest template to make an http call, then separate trace is created for each request. I want to be able to connect it to the currently active span. Or at least be able to send headers with the request and then those headers could be used to make a parent context.
Similar was done in TracingKafkaUtils in java-kafka-client.
from java-spring-web.
Statement .asChildOf(tracer.activeSpan())
is not necessary the active span should be added as parent automatically.
from java-spring-web.
When you say automatically, where is that in the code exactly? I tried to look for that piece of code on the master branch, but was not successful. Currently, for me, it does not work.
from java-spring-web.
The tracer implementation should do it.
from java-spring-web.
Related Issues (20)
- Spring MVC integration example HOT 1
- Why is TracingHandlerInterceptor conditional on missing TracingFilter? HOT 3
- upgrade to opentracing 0.33.0 HOT 1
- Clarify project status HOT 3
- Error when running @SpringBootTest with SpringBootTest.WebEnvironment.NONE HOT 1
- `Scope` should be closed in the method of `afterConcurrentHandlingStarted` for async request
- Putting handlers into log fields makes ZipkinV2Reporter cause Gson errors
- Version 0.3.4 fails with OpenTracing API 0.33.0 HOT 3
- Bug: Span has already been finished; will not be reported again HOT 2
- spans not marked as error when Exceptions handled by @ControllerAdvice
- TracingHandlerInterceptor order cannot be changed and even overridden
- Span not finished when subscription is cancelled HOT 8
- Span finishes before webclient completes
- Span customization - Extend WebFluxSpanDecorator HOT 1
- Skip patterns does not apply to RestTemplate client requests
- use controller method name as operation name in webflux
- Span object is null when passing RequestEntity<?> as a request parameter
- TracingRestTemplateInterceptor does not support sorting
- Bug: (java.lang.IllegalArgumentException) Service name must not be null or empty HOT 1
- opentracing-spring-web-starter incompatible with Spring Boot 2.6 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-spring-web.