OpenTelemetry
Backend & InfraOpenTelemetry Python API and SDK
Release History
v1.39.11 fixThis is a patch release fixing an issue related to silencing events API warnings for internal users.
v1.39.0Breaking1 fix2 featuresThis release introduces significant breaking changes to the logging SDK by removing LogData and renaming several Log classes to LogRecord, while also deprecating the Events API in favor of enhanced LogRecord functionality. It also improves attribute serialization and dependency management.
v1.38.01 featureThis release extends the functionality of Logger.emit and introduces pre-commit checks for RST validity. It also adds deprecation warnings for upcoming class renames.
v1.37.03 fixes3 featuresThis release introduces experimental composite samplers and new environment variables for configuring OTLP exporter credentials during auto-instrumentation. It also includes several bug fixes related to log handling and attribute limits.
v1.36.02 fixes1 featureThis release improves logging stability by ensuring the OTLP LogHandler persists after configuration calls and refines exporter shutdown behavior to be more time-bound. It also adds documentation for the Prometheus exporter.
v1.35.0Breaking6 fixes2 featuresThis release stabilizes the Log signal by introducing `event_name` for events and deprecating direct trace context fields in favor of a context object for log initialization. It also includes several fixes and updates to exporters and SDK components.
v1.34.11 fix1 featureThis patch release addresses an issue with mypy type ignoring in opentelemetry-sdk and restores the missing span_exporter property on BatchSpanProcessor.
v1.34.0Breaking1 fix2 featuresThis release drops support for Python 3.8, updates type checking mechanisms, and includes refactoring in log and span processors along with a fix for a shutdown recursion error.
v1.33.11 fixThis patch release fixes a critical issue where log messages in BatchLogRecordProcessor caused a crash during shutdown.
v1.33.0Breaking3 fixesThis release stabilizes code attribute names in the SDK, fixes several bugs related to HTTP connections and log serialization, and updates semantic conventions.
v1.32.11 fixThis is a patch release addressing issues found in the previous 1.32.0/0.53b0 version.
v1.32.05 fixesThis release focuses on bug fixes, including correcting the OTLP HTTP metrics exporter user agent and patching logging behavior, alongside performance improvements for baggage operations.
v1.31.11 fixThis patch release reverts a change regarding `BaseException` recording in `trace_api.use_span()` to fix an issue from the previous 1.31.0/0.52b0 release.
v1.31.05 fixes4 featuresThis release includes several bug fixes across OTLP encoding, Prometheus exporter labeling, and resource detector loading, alongside new type annotations and improved exception handling in span recording.
v1.30.0Breaking3 fixes3 featuresThis release introduces support for Python 3.13, updates semantic conventions to 1.30.0, and fixes serialization issues for None values in logs. A breaking change involves the removal of a misplaced network attribute constant.