github Azure/azure-sdk-for-python azure-core-tracing-opentelemetry_1.0.0b10

1.0.0b10 (2023-07-11)

Features Added

  • Enabled the use of the context keyword argument for passing in context headers of a parent span. This will be the parent context used when creating the span. (#30411)

Breaking Changes

  • Remapped certain attributes to converge with OpenTelemetry semantic conventions (#29203):
    • x-ms-client-request-id -> az.client_request_id,
    • x-ms-request-id -> az.service_request_id,
    • http.user_agent -> user_agent.original,
    • message_bus.destination -> messaging.destination.name,
    • peer.address -> net.peer.name,

Other Changes

  • Python 2.7 is no longer supported. Please use Python version 3.7 or later.
  • Nested internal spans are now suppressed with just the outermost internal span being recorded. Nested client spans will be children of the outermost span. (#29616)
  • When client spans are created, a flag is set to indicate that automatic HTTP instrumentation should be suppressed. Since azure-core already instruments HTTP calls, this prevents duplicate spans from being produced. (#29616)
  • Schema URL is now set on the tracer's instrumentation scope. (#30014)
  • Minimum opentelemetry-api dependency bumped to 1.12.0.
  • Minimum azure-core dependency bumped to 1.24.0.

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.