Giter Club home page Giter Club logo

Comments (6)

ajcastillo301 avatar ajcastillo301 commented on May 28, 2024 1

That is good to hear. We will surely upgrade on our next iteration, thanks @fstien for all the effort!

from ktor-opentracing.

fstien avatar fstien commented on May 28, 2024

Hey Hannes, Thanks for your message.
Yes so CallLogging intercepts before the monitoring phase, whereas this ktor-opentracing feature was intercepting (and creating the server span) before the features phase, which happens after the monitoring phase. Hence when you try to read the span from GlobalTracer in CallLogging, it hasn't been created yet.

I just released a change where i move back where i intercept to after the setup phase. Do you want to try again with v0.3.2 and let me know ? :)

from ktor-opentracing.

hannomalie avatar hannomalie commented on May 28, 2024

As soon as we can, thanks in advance!

from ktor-opentracing.

ajcastillo301 avatar ajcastillo301 commented on May 28, 2024

Hi @fstien. Thank you for this nice project, I encountered a similar issue regarding CallLogging in one of my projects. Could you let me know where I can grab the 0.3.2 or 0.3.3 version, I could run a test for you.

from ktor-opentracing.

ajcastillo301 avatar ajcastillo301 commented on May 28, 2024

Just to let you know that we got the 0.3.3 and it is working as expected for our project. Just something to note, the generated POM file you published doesn't include any of the transitive dependencies so we had to add the kotlin-logging-jvm dependency manually. But aside from that, all good!

Thanks you very much!

from ktor-opentracing.

fstien avatar fstien commented on May 28, 2024

hey @hannomalie , @ajcastillo301 , Thanks. I had a play around with CallLogging issue, indeed the trace cannot be read when that feature intercepts. I'm not sure why, there's clearly something about CallLogging I don't understand. 🤷‍♂️ I will leave this issue open for now.

@ajcastillo301 Thanks for bringing this up. If you try version 0.3.5 , that has the dependencies in the pom.xml ; https://repo1.maven.org/maven2/com/zopa/ktor-opentracing/0.3.5/ktor-opentracing-0.3.5.pom .

from ktor-opentracing.

Related Issues (5)

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.