Where does opentelemetry.propagate come from? #1704
-
I've noticed several of the instrumentation libraries seem to pull in Can someone point me to this? Updated: I'm trying to write my own instrumentation for a custom framework we are developing as part of our research and I'm trying to base it on how this instrumentation works, but I'm stuck trying to find the python packages that provide the following:
In my application, I'm using the following packages (in my
However, the instrumentation for Flask and Requests seem to work fine, if I try using them on a vanilla application, so I know that the imports are there somewhere. I also tried downloading the actual package from Pypi here. When I untar this, I don't see a requirements file pointing me to the correct location of where this might be coming from; nor, do I find any implementation of these either. Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Disregard, I was looking at the unreleased |
Beta Was this translation helpful? Give feedback.
-
@cmeiklejohn I'd suggest to not write an external instrumentation for your own framwork but instrument your framework with Otel API directly. That way it won't need any instrumentation or runtime patches. This is certainly the recommended way to instrument libraries. |
Beta Was this translation helpful? Give feedback.
Disregard, I was looking at the unreleased
opentelemetry-instrumentation-flask
(while running 0.18, which doesn't use the propagators change yet.)