sqlite3 ModuleNotFoundError #1671
-
I am using auto-instrumentation, every time my container started to run, it has this log.
My understanding is the agent thought we are using sqlite3, so it will call opentelemetry-instrumentation-sqlite3/init.py, but in fact we didn't use it. Is this a bug from otel Python auto-instrument? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is a list of instrumentation libraries that get installed by default. And the remaining instrumentations are conditionally installed by auto instrumentation based on the available third-party libraries in your env for which we have the instrumentation (eg flask).
The assumption was that |
Beta Was this translation helpful? Give feedback.
There is a list of instrumentation libraries that get installed by default. And the remaining instrumentations are conditionally installed by auto instrumentation based on the available third-party libraries in your env for which we have the instrumentation (eg flask).
The assumption was that
sqlite3
would be available. It looks like, in some cases, thesqlite-devel
must be installed. We could update the auto instrumentation to catch the import errors.