v1.37.0
📦 opentelemetry
✨ 3 features🐛 3 fixes🔧 1 symbols
Summary
This 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.
✨ New Features
- Add experimental composite samplers.
- Add new environment variables (`OTEL_PYTHON_EXPORTER_OTLP_{HTTP/GRPC}_{METRICS/TRACES/LOGS}_CREDENTIAL_PROVIDER`) to inject `requests.Session` or `grpc.ChannelCredentials` into OTLP exporters created during auto instrumentation.
- Permit overriding default HTTP OTLP exporters headers.
🐛 Bug Fixes
- Filter duplicate logs from internal loggers on the export logs path to prevent endless logging or recursion depth issues when logging causes an exception.
- Fix handling of `OTEL_ATTRIBUTE_COUNT_LIMIT` in logs within `opentelemetry-sdk`.
- Fix calling `Logger.emit` with an API `LogRecord` instance in `opentelemetry-sdk`.
🔧 Affected Symbols
Logger.emit