Git Product home page Git Product logo

Comments (5)

pavolloffay avatar pavolloffay commented on June 7, 2024

@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.

aleksvidak avatar aleksvidak commented on June 7, 2024

@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.

pavolloffay avatar pavolloffay commented on June 7, 2024

Statement .asChildOf(tracer.activeSpan()) is not necessary the active span should be added as parent automatically.

from java-spring-web.

aleksvidak avatar aleksvidak commented on June 7, 2024

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.

pavolloffay avatar pavolloffay commented on June 7, 2024

The tracer implementation should do it.

from java-spring-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.