skillfed

azure-core-tracing-opentelemetry

Microsoft Azure Core OpenTelemetry plugin Library for Python

azure-core-tracing-opentelemetry v1.0.0b13 16.3M downloads/30d#1,157 on PyPI5,588
License unclear Active released

What it is and what it does

This package is a plugin that bridges Azure SDK clients with OpenTelemetry, the industry-standard observability framework. It automatically instruments HTTP requests and operations made by Azure service clients to emit distributed tracing spans without requiring additional code changes. Once configured—either via the AZURE_SDK_TRACING_IMPLEMENTATION environment variable or programmatically through azure.core.settings—the plugin hooks into Azure Core's pipeline to capture span data including HTTP methods, status codes, server addresses, and exception details, then exports them to your configured OpenTelemetry exporter.

The package handles span lifecycle management, context propagation, and suppression of redundant internal spans automatically. Recent versions align span attribute names with OpenTelemetry semantic conventions version 1.23.1, remapping attributes like http.method to http.request.method for standards compliance. It is designed to work seamlessly with any Azure SDK that depends on azure-core, requiring minimal setup beyond installing the package and configuring your OpenTelemetry tracer provider.

Use it for:

  • Enable distributed tracing for Azure Storage, Key Vault, or Event Hubs calls to track request flow across services.
  • Export Azure SDK operation spans to Azure Monitor for centralized observability and performance monitoring.
  • Diagnose latency and failures in Azure service interactions by correlating spans with trace IDs across your system.
  • Integrate Azure workloads into existing OpenTelemetry observability pipelines without code changes to Azure client calls.
  • Record exception details and HTTP status codes in spans for post-incident analysis and alerting on Azure SDK errors.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Integrates Azure SDK clients with OpenTelemetry to emit distributed tracing spans for observability and monitoring of Azure service calls.

Yes, if you are using Azure SDKs and need distributed tracing. The package is actively maintained, has low install friction, and integrates cleanly with opentelemetry-api and azure-core. The main condition is that you must run Python 3.10 or later (3.8 and 3.9 are no longer supported as of version 1.0.0b13). License information is not clearly documented, so verify licensing terms before use in restricted environments.

Install

azure-core-tracing-opentelemetry on PyPI

pip

pip install azure-core-tracing-opentelemetry

uv

uv add azure-core-tracing-opentelemetry

poetry

poetry add azure-core-tracing-opentelemetry

Installing azure-core-tracing-opentelemetry

Before you install

Low install friction with only two runtime dependencies (opentelemetry-api and azure-core). Package is actively maintained with a recent release; however, version 1.0.0b13 dropped support for Python 3.8 and 3.9, requiring Python 3.10 or later.

Quickstart

pip install azure-core-tracing-opentelemetry

from azure.core.settings import settings
settings.tracing_implementation = "opentelemetry"

from opentelemetry import trace
tracer = trace.get_tracer(__name__)
with tracer.start_as_current_span(name="MyApplication"):
    pass  # Azure SDK calls within this span will be traced

Requires Python 3.10 or later; Python 3.8 and 3.9 are no longer supported as of version 1.0.0b13.

Verify before relying

  • Whether license information is available elsewhere (license_raw and license_spdx are both null).
  • Compatibility matrix with specific Azure SDK versions and OpenTelemetry exporter implementations.

Package facts

License not declared (unclear)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — opentelemetry-api, azure-core
Maintenance actively maintained — 105 days since the last release
Last repo commit
First released
Downloads 16,254,043/month — #1,157 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_core_tracing_opentelemetry-1.0.0b13-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 4 - BetaProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

azure opentelemetry tracingdistributed tracing azure sdkazure span instrumentationopentelemetry azure integrationazure core tracing pluginazure observability monitoringtrace azure service calls
azure-sdkobservabilitydistributed-tracing

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

azure-monitor-opentelemetry-exporter

Exports OpenTelemetry traces, metrics, and logs…

permissive · top 1,000 on PyPI

pyroscope-otel

Connects OpenTelemetry tracing with Pyroscope…

permissive · top 5,000 on PyPI

azure-monitor-opentelemetry

Bundles OpenTelemetry SDK and Azure Monitor…

permissive · top 5,000 on PyPI

azure-monitor-events-extension

Sends custom events to Azure Application…

permissive · top 15,000 on PyPI

microsoft-opentelemetry

Provides a unified OpenTelemetry distribution…

permissive · top 15,000 on PyPI

opentelemetry-sdk-extension-aws

Provides OpenTelemetry SDK components to make…

permissive · top 5,000 on PyPI

uipath-core

Provides core abstractions, data models, and…

unclear · top 5,000 on PyPI

opentracing

Provides the OpenTracing API for Python,…

permissive · top 5,000 on PyPI

nv-one-logger-core

Provides core telemetry abstractions (spans,…

permissive · top 15,000 on PyPI

microsoft-agents-a365-observability-core

Provides OpenTelemetry-based telemetry,…

permissive · top 15,000 on PyPI