$npx skillfedfor your agent

azure-monitor-opentelemetry

Microsoft Azure Monitor Opentelemetry Distro Client Library for Python

With conditionsPyPI MonitoringReleased Jul 202620.9M downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — azure_monitor_opentelemetry-1.8.9-py3-none-any.whl
v1.8.9 · released 2026-07-01 · Python >=3.8 · 13 runtime deps: azure-core, azure-core-tracing-opentelemetry, azure-monitor-opentelemetry-exporter, opentelemetry-sdk, opentelemetry-instrumentation-django, opentelemetry-instrumentation-fastapi, opentelemetry-instrumentation-flask, opentelemetry-instrumentation-psycopg2

Yes, if you are already using Azure Monitor and need observability in a Python application. The distro eliminates boilerplate by bundling OpenTelemetry and Azure exporters, and it is actively maintained with no known vulnerabilities. The trade-off is a large dependency tree (13 runtime packages) that pulls in instrumentations you may not use; if you need only selective instrumentation or are not on Azure, consider using OpenTelemetry components directly.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later and an Azure subscription with an Application Insights resource and its connection string.
  • Low friction install with a pure-Python wheel.
  • Actively maintained with a recent release.

License · maintenance · safety

MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions, making it safe to adopt in most projects.

last release 2026-07-01 (44 days) · last repo commit 2026-08-14 · 5,588 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 20,906,017 downloads/mo, #1,023 on PyPI

Verify before relying

pip install azure-monitor-opentelemetry

from azure.monitor.opentelemetry import configure_azure_monitor

configure_azure_monitor(connection_string="<your-connection-string>")
  • Whether automatic instrumentation for frameworks beyond those listed is possible without manual setup.
  • Performance overhead of live metrics and performance counters when enabled by default.
  • Stability guarantees for the bundled OpenTelemetry instrumentations, which the description notes are in beta.
Same gist for agents: .md · .json

What it is and what it does

Azure Monitor Opentelemetry Distro is a pre-configured bundle of the OpenTelemetry SDK and Azure Monitor exporters designed to simplify telemetry collection in Python applications. It automatically instruments popular web frameworks (Django, FastAPI, Flask), database drivers (psycopg2), and HTTP libraries (requests, urllib, urllib3) to capture traces, metrics, and logs without requiring manual instrumentation of each library. The distro sends all collected telemetry directly to Azure Monitor.

You configure it with a single call to `configure_azure_monitor()`, passing your Application Insights connection string and optional settings for sampling, performance counters, live metrics, and which instrumentations to enable or disable. The package handles resource detection, span processing, and metric aggregation internally, letting you focus on your application code rather than wiring up observability infrastructure.

Use it for

  • Instrument a Django or FastAPI web service to automatically capture HTTP request traces and send them to Azure Monitor.
  • Enable distributed tracing across microservices by configuring the distro on each service to report traces to a shared Application Insights resource.
  • Collect database query spans from psycopg2 and HTTP client spans from requests to correlate slow endpoints with underlying calls.
  • Set up live metrics and performance counters on a production application to monitor CPU, memory, and request rates in real time.
  • Disable specific instrumentations in a multi-framework application to avoid double-instrumentation or reduce overhead.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using Azure Monitor and need observability in a Python application.

The distro eliminates boilerplate by bundling OpenTelemetry and Azure exporters, and it is actively maintained with no known vulnerabilities. The trade-off is a large dependency tree (13 runtime packages) that pulls in instrumentations you may not use; if you need only selective instrumentation or are not on Azure, consider using OpenTelemetry components directly.

Install

azure-monitor-opentelemetry on PyPI

Before you install

Low friction install with a pure-Python wheel. Actively maintained with a recent release. Carries 13 runtime dependencies including the OpenTelemetry SDK and instrumentations for Django, FastAPI, Flask, psycopg2, requests, urllib, urllib3, and logging—all pulled in automatically.

Requires Python 3.8 or later and an Azure subscription with an Application Insights resource and its connection string.

License in practice

MIT License permits commercial and private use with minimal restrictions, making it safe to adopt in most projects.

Quickstart

pip install azure-monitor-opentelemetry

from azure.monitor.opentelemetry import configure_azure_monitor

configure_azure_monitor(connection_string="<your-connection-string>")

Verify before relying

  • Whether automatic instrumentation for frameworks beyond those listed is possible without manual setup.
  • Performance overhead of live metrics and performance counters when enabled by default.
  • Stability guarantees for the bundled OpenTelemetry instrumentations, which the description notes are in beta.

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
13 packages
azure-coreazure-core-tracing-opentelemetryazure-monitor-opentelemetry-exporteropentelemetry-sdkopentelemetry-instrumentation-djangoopentelemetry-instrumentation-fastapiopentelemetry-instrumentation-flaskopentelemetry-instrumentation-psycopg2opentelemetry-instrumentation-requestsopentelemetry-instrumentation-urllibopentelemetry-instrumentation-urllib3opentelemetry-instrumentation-loggingopentelemetry-resource-detector-azure
MaintenanceActively maintained 44 days since the last release
Last repo commit
First released
Downloads20,906,017 / month, #1,023 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: 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-1.8.9-py3-none-any.whl

Tags

Capabilities
azure monitor telemetry pythonopentelemetry azure exporterapplication insights instrumentationdistributed tracing azurepython observability azureapm azure monitoropentelemetry distro azure
Topics
observabilityazure-integrationdistributed-tracing
PyPI keywords
azureazure sdk

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 › “python observability azure”

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

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.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also azure-monitor-opentelemetry-exporter · microsoft-opentelemetry · azure-monitor-events-extension · azure-core-tracing-opentelemetry · opencensus-ext-azure · applicationinsights · opentelemetry-container-distro · azure-cli-telemetry · opentelemetry-distro · azureml-telemetry