-
Notifications
You must be signed in to change notification settings - Fork 735
Open
Labels
auto-instrumentationrelated to auto-instrumentation of the sdkrelated to auto-instrumentation of the sdklog-breaking-changesloggingsdkAffects the SDK package.Affects the SDK package.
Description
LoggingHandler
is a Python stdlib logging.Handler
implementation that bridges stdlib logging
to the Logs SDK.
Some reasoning:
- It is not something that is specified in the SDK
- Will need to follow SDK versioning
- As a separate package, users could simply uninstall it if they don't want
logging
logs captured at all (or useOTEL_PYTHON_DISABLED_INSTRUMENTATIONS
). - Consider that opentelemetry-instrumentation-urllib is separate even though urllib is part the python standard library.
- There are other logging APIs like structlog.
Arguments against:
- A high percentage of users want to set it and forget it and this adds an extra step
Metadata
Metadata
Assignees
Labels
auto-instrumentationrelated to auto-instrumentation of the sdkrelated to auto-instrumentation of the sdklog-breaking-changesloggingsdkAffects the SDK package.Affects the SDK package.
Type
Projects
Status
Todo