You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Database API instrumentation does not respect opentelemetry.instrumentations.util.supress_instrumentation functionality.
Span is always produced even if we use supress_instrumentation.
Steps to Reproduce
You can reproduce by run a below script by uv run reproduce.py
Describe your environment
OS: macOS
Python version: 3.12
opentelemetry-api: 1.32.1
opentelemetry-sdk: 1.32.1
opentelemetry-instrumentation-dbapi: 0.53b.1
What happened?
Database API instrumentation does not respect
opentelemetry.instrumentations.util.supress_instrumentation
functionality.Span is always produced even if we use
supress_instrumentation
.Steps to Reproduce
You can reproduce by run a below script by
uv run reproduce.py
Expected Result
No span is produced.
Actual Result
Span is produced.
Additional context
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: