1.0.0b12 (2025-03-20)
Features Added
- If a span exits with an exception, the exception name is now recorded in the
error.type
attribute. (#34619) - Added support for passing a schema version to fetch available attribute mappings and set the schema URL on the tracer's instrumentation scope. (#40161)
- Added additional span suppression logic to prevent unnecessary spans from being created. (#39994)
SpanKind.INTERNAL
spans are suppressed if their parent span is of typeSpanKind.INTERNAL
,SpanKind.CLIENT
, orSpanKind.PRODUCER
.
- Update
OpenTelemetrySpan.change_context
to also accept spans of typeOpenTelemetrySpan
. (#39994)
Bugs Fixed
- Fixed an issue where the original context was not properly restored after exiting an
OpenTelemetrySpan
context in certain scenarios. (#39994)