Coder Social home page Coder Social logo

Comments (16)

pavolloffay avatar pavolloffay commented on August 25, 2024 4

At the moment we don't have any specific plans for redis instrumentation. If anybody is interested please comment or 👍 on this issue.

from java-spring-cloud.

pavolloffay avatar pavolloffay commented on August 25, 2024 1

@ddcprg I am not aware of anybody. It would be great if you could have a look 👍

from java-spring-cloud.

pavolloffay avatar pavolloffay commented on August 25, 2024

@qw2283345 hi,

what API are you using to access Redis storage? RedisTemplate or something else?

from java-spring-cloud.

qw2283345 avatar qw2283345 commented on August 25, 2024

@pavolloffay thanks for replay, do you have any plan to make OpenTracing to support redis?

from java-spring-cloud.

isaachier avatar isaachier commented on August 25, 2024

I am wondering if this is feasible without instrumenting a third party client and/or the Redis code itself. The only way that I can see of getting around that is potentially the pub/sub feature, but not sure how much sense that makes. If that isn't feasible, would it make sense to wrap the Redis networking code using opentracing-c? Just wondering how this third-party instrumentation usually works. @pavolloffay @rnburn @yurishkuro please let me know your thoughts here.

from java-spring-cloud.

yurishkuro avatar yurishkuro commented on August 25, 2024

@isaachier I think this issue is mostly about instrumenting client side. Afaik Redis has a fairly open and well documented wire protocol, so most clients can be written natively in the chosen language without relying on some low-level libraries. I think your suggestion of opentracing-c applies more on the server side. I don't have any insight how feasible it is (probably possible).

from java-spring-cloud.

isaachier avatar isaachier commented on August 25, 2024

I mean is it reasonable to instrument the server-side or would that mean maintaining a fork which may not be part of the OpenTracing mission?

from java-spring-cloud.

yurishkuro avatar yurishkuro commented on August 25, 2024

I think the only viable approach for instrumenting 3rd party products server-side is if they either support pluggable instrumentation (like Cassandra), or they are willing to integrate OpenTracing API directly (as couchbase or grafana). Maintaining a fork is certainly not a viable long term strategy.

from java-spring-cloud.

isaachier avatar isaachier commented on August 25, 2024

OK got it thanks.

from java-spring-cloud.

pavolloffay avatar pavolloffay commented on August 25, 2024

This issue is related to the client side only. I haven't looked into this very closely but it seems we will have to instrument RedisTemplate and maybe also message receiver.

from java-spring-cloud.

pavolloffay avatar pavolloffay commented on August 25, 2024

There is also https://github.com/opentracing-contrib/java-redis-client which could be perhaps used as the underlying instrumentation.

from java-spring-cloud.

isaachier avatar isaachier commented on August 25, 2024

Right I sort of hijacked this issue to refer to the server side. Having so many client side instrumentations seems more difficult than maintaining one redis server instrumentation.

from java-spring-cloud.

ddcprg avatar ddcprg commented on August 25, 2024

Is anyone working on this already? I wouldn't mind taking a look since I need this feature

from java-spring-cloud.

ddcprg avatar ddcprg commented on August 25, 2024

I've managed to spend some time on this issue this evening. I'll try to push a PR tomorrow.

from java-spring-cloud.

pavolloffay avatar pavolloffay commented on August 25, 2024

Done in #182

from java-spring-cloud.

ddcprg avatar ddcprg commented on August 25, 2024

thanks @pavolloffay

from java-spring-cloud.

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.