v1.36.0
📦 opentelemetry
✨ 1 features🐛 2 fixes🔧 3 symbols
Summary
This 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.
Migration Steps
- If you rely on logging configuration methods (logging.config.fileConfig or logging.config.dictConfig) being called after initialization, be aware that the OTLP LogHandler is now forcefully re-attached to the root logger, which might affect custom logging setups.
✨ New Features
- Added missing Prometheus exporter documentation.
🐛 Bug Fixes
- Overwrote logging.config.fileConfig and logging.config.dictConfig to ensure the OTLP LogHandler remains attached to the root logger, fixing a potential deadlock over logging._lock.
- OTLP HTTP exporter now sets a default value for the timeout_sec parameter in the _export method.
🔧 Affected Symbols
logging.config.fileConfiglogging.config.dictConfigotlp-http-exporter._export