Open jwthomp opened 4 years ago
We also have a strong dependency on Opentracing > 2.0.0 as well, and several of our production use-cases have requirements for libraries to be updated to a recent library, so we require this second level dependency to also be met.
For us it would even be enough to remove the strong requirement and just disable opentracing functionality if a non-compatible version is available.
We'd be happy to explore adding a PR to implement the above - alternatively I'd be interested to understand the complexity of supportin OpenTracing 2.0.0 (which would be ideal).
@ask wondering if there could be any pointers on what's the best way to approach this - I'd be happy to add a PR to contribute something. Initially it could be by moving OpenTracing to extras_require, or alternatively by disabling tracing if OpenTracing < 2.0 is not installed with a message. Alternativelly happy to also explore what would be the way to add support for OpenTracing 2.0, and whether it's possible to keep compability for both. Would be happy to dive into this if it's something you'd be open to review as PR contribution.
@axsaucedo I've been meaning to upgrade to Opentracing v2 so that would be great! Apparently this version supports keeping track of the current span also, so may be able to remove some code.
From initial test it looks like the opentracing 2.x works by just upgrading the requirement.
Faust also has some custom tracing support, but we largely depend on a non-open source library. I'm not sure if that part still works after upgrading, but what we want to do is to eventually move our tracing over to the official one.
That's great news @ask - we also recently moved to Opentracing 2.0 because of the new benefits it provides. Great to see it's not part of the milestone. Happy to test this on the dev build when it's ready as well.
Quick bump--will this issue be out soon? This upgrade would also be great for us as we use 2.x in our production.
Bumping this issue again, would appreciate if this got a pr.
Checklist
master
branch of Faust.Steps to reproduce
Running the above commands demonstrates the inability to install datadogs ddtrace with opentracing support.
Expected behavior
Expected ddtrace[opentracing] dependency to be added.
Actual behavior
ddtrace[opentracing] did not install due to version requirement conflicts between ddtrace and opentracing.
Full traceback
Versions