azure-monitor-opentelemetry-exporter
Microsoft Azure Monitor Opentelemetry Exporter Client Library for Python
Decision gist · record as of 2026-08-14
Yes, if you are already using OpenTelemetry and need to export to Azure Monitor. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is part of the official Azure SDK. The beta version and experimental logging signal warrant review of the changelog before production use, but the core tracing and metrics exporters are stable enough for most observability workloads.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires APPLICATIONINSIGHTS_CONNECTION_STRING environment variable or explicit connection_string parameter; Python 3.8 or later.
- Low install friction with a pure-wheel distribution.
- Actively maintained with a release 9 days old and recent commits.
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions. You may use, modify, and distribute this package freely provided you include the license notice.
last release 2026-08-05 (9 days) · last repo commit 2026-08-14 · 5,587 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 49,299,860 downloads/mo, #585 on PyPI
Alternatives
Verify before relying
pip install azure-monitor-opentelemetry-exporter --pre
from azure.monitor.opentelemetry.exporter import AzureMonitorTraceExporter
exporter = AzureMonitorTraceExporter(
connection_string=os.environ["APPLICATIONINSIGHTS_CONNECTION_STRING"]
)- Whether the beta status (1.0.0b56) indicates stability concerns or expected API changes before 1.0 release.
- Performance overhead or latency impact when exporting high-volume telemetry to Azure Monitor.
- Whether offline storage retry behavior is suitable for your application's failure-handling requirements.
What it is and what it does
This package bridges OpenTelemetry's observability framework and Azure Monitor, allowing Python applications to export distributed traces, metrics, and logs directly to Azure's monitoring service. It provides three specialized exporters—AzureMonitorTraceExporter for distributed tracing, AzureMonitorMetricExporter for metrics, and AzureMonitorLogExporter for logging—each configured via a connection string to your Application Insights resource.
The exporter is designed for applications with advanced or complex telemetry needs that require fine-grained control over all three signal types (traces, metrics, logs). It depends on azure-core, azure-identity, opentelemetry-api, and opentelemetry-sdk, integrating with the standard OpenTelemetry instrumentation ecosystem. The package is currently in beta (1.0.0b56) and supports Python 3.8 and later, though classifiers indicate testing through Python 3.14.
Use it for
- Export distributed traces from a microservices application to Azure Monitor for end-to-end request tracing and performance analysis.
- Collect custom metrics alongside traces and logs to correlate application performance with business events in a single Azure Monitor workspace.
- Instrument a Python application with OpenTelemetry and send all telemetry to Azure Monitor using a single exporter configuration.
- Implement consistent sampling across OpenTelemetry and Application Insights SDKs using the ApplicationInsightsSampler for noise reduction.
- Store failed telemetry records locally for retry when network connectivity is temporarily unavailable (via offline storage configuration).
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using OpenTelemetry and need to export to Azure Monitor.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and is part of the official Azure SDK. The beta version and experimental logging signal warrant review of the changelog before production use, but the core tracing and metrics exporters are stable enough for most observability workloads.
Install
azure-monitor-opentelemetry-exporter on PyPI
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with a release 9 days old and recent commits. Depends on established Azure SDK libraries (azure-core, azure-identity) and OpenTelemetry core packages, all widely used.
Requires APPLICATIONINSIGHTS_CONNECTION_STRING environment variable or explicit connection_string parameter; Python 3.8 or later.
License in practice
MIT License permits commercial and private use with minimal restrictions. You may use, modify, and distribute this package freely provided you include the license notice.
Quickstart
pip install azure-monitor-opentelemetry-exporter --pre
from azure.monitor.opentelemetry.exporter import AzureMonitorTraceExporter
exporter = AzureMonitorTraceExporter(
connection_string=os.environ["APPLICATIONINSIGHTS_CONNECTION_STRING"]
)
Verify before relying
- Whether the beta status (1.0.0b56) indicates stability concerns or expected API changes before 1.0 release.
- Performance overhead or latency impact when exporting high-volume telemetry to Azure Monitor.
- Whether offline storage retry behavior is suitable for your application's failure-handling requirements.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesazure-coreazure-identitymsrestopentelemetry-apiopentelemetry-sdkpsutil |
| Maintenance | Actively maintained 9 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 49,299,860 / month, #585 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: azure_monitor_opentelemetry_exporter-1.0.0b56-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “azure monitor opentelemetry exporter”
- azure-monitor-opentelemetry-exporterExports OpenTelemetry traces, metrics, and logs from Python…
- opencensus-ext-azureExports logs, metrics, and traces from Python applications to Azure…
- azure-monitor-opentelemetryBundles OpenTelemetry SDK and Azure Monitor exporters to instrument…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also azure-core-tracing-opentelemetry · azure-monitor-events-extension · azure-monitor-opentelemetry · opencensus-ext-azure · applicationinsights · microsoft-opentelemetry · azureml-telemetry · newrelic-telemetry-sdk · opentelemetry-exporter-gcp-monitoring · opentelemetry-exporter-gcp-trace