v1.36.0
📦 opentelemetry-pythonView on GitHub →
✨ 1 features🐛 2 fixes🔧 3 symbols
Summary
This release improves logging configuration stability by ensuring the OTLP LogHandler persists and fixes a potential deadlock. It also updates exporter shutdown behavior to enforce time limits and adds documentation for the Prometheus exporter.
Migration Steps
- If you rely on `logging.config.fileConfig` or `logging.config.dictConfig` to configure logging, be aware that the OTLP `LogHandler` will now be explicitly re-attached to the root logger after these calls.
- If you were relying on exporters to block indefinitely during shutdown until all buffered telemetry was sent, note that BatchSpan/LogRecordProcessors now enforce a 30-second timeout during shutdown for buffered exports.
✨ New Features
- otlp-http-exporter: set default value for param `timeout_sec` in `_export` method.
🐛 Bug Fixes
- Overwrite logging.config.fileConfig and logging.config.dictConfig to ensure the OTLP `LogHandler` remains attached to the root logger.
- Fix a bug that can cause a deadlock to occur over `logging._lock` in some cases.