v1.30.0
Breaking Changes📦 opentelemetry-pythonView on GitHub →
⚠ 1 breaking✨ 3 features🐛 2 fixes🔧 3 symbols
Summary
This release introduces support for Python 3.13, adds an attributes field to get_meter, and fixes serialization issues for None values in logs. A breaking change involves the removal of an incorrectly placed network attribute constant in semantic conventions.
⚠️ Breaking Changes
- The attribute `opentelemetry.semconv.attributes.network_attributes.NETWORK_INTERFACE_NAME` has been removed from semantic conventions as it was incorrectly placed. Users relying on this specific constant must update their code to use the correct location or equivalent attribute if available in the updated semantic conventions version.
Migration Steps
- If you were using `opentelemetry.semconv.attributes.network_attributes.NETWORK_INTERFACE_NAME`, locate the correct attribute definition within the updated semantic conventions (version 1.30.0).
✨ New Features
- The logging SDK setup is now always performed; the `OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED` environment variable now only controls the setup of handlers for the standard Python `logging` module.
- Added support for explicit bucket boundaries advisory for Histograms.
- Added an `attributes` field to the `metrics.get_meter` wrapper function.
🐛 Bug Fixes
- Fixed serialization of `None` values in log bodies to align with the data model introduced in version 1.31.0+.
- Fixed span context manager typing by utilizing `ParamSpec` from `typing_extensions`.