Azure Monitor OpenTelemetry for Python
Configures Azure Application Insights with one-line OpenTelemetry auto-instrumentation for Python applications.
This skill streamlines the observability of Python applications on Azure by implementing the Azure Monitor OpenTelemetry Distro. It enables developers to quickly set up distributed tracing, metrics, and logging for popular frameworks like FastAPI, Django, and Flask without complex manual configuration. By integrating best practices such as Azure AD authentication, sampling, and Cloud Role Name identification, it ensures your cloud-native applications are production-ready and fully visible within the Azure Monitor ecosystem.
Key Features
01Integrated support for custom distributed tracing, metrics, and structured logging
02Advanced configuration for sampling ratios, Cloud Role Names, and Live Metrics
03One-line setup for Application Insights using configure_azure_monitor()
042 GitHub stars
05Built-in Azure Active Directory (AAD) authentication support for secure telemetry ingestion
06Auto-instrumentation for major libraries like Flask, Django, FastAPI, and Requests
Use Cases
01Migrating legacy Application Insights SDKs to the modern OpenTelemetry standard
02Adding full-stack observability to a Python web service deployed on Azure
03Implementing distributed tracing across a microservices architecture on Azure