Change8

v1.31.0

📦 opentelemetry-pythonView on GitHub →
2 features🐛 4 fixes🔧 5 symbols

Summary

This release includes several bug fixes across OTLP encoding, Prometheus exporting, and configuration handling. It also introduces type annotations for context attachment/detachment and improves resilience when loading resource detectors.

✨ New Features

  • Add type annotations to context's attach & detach methods.
  • Tolerates exceptions when loading resource detectors via the OTEL_EXPERIMENTAL_RESOURCE_DETECTORS environment variable.

🐛 Bug Fixes

  • Fix OTLP encoders missing instrumentation scope schema url and attributes.
  • Fix Prometheus exporter labels being misplaced for data points with different attribute sets.
  • Fix OTLP exporting of Histograms with explicit buckets advisory in opentelemetry-sdk.
  • Fix environment variable error message for TraceLimits/SpanLimits configuration.

Affected Symbols