Azure Monitor OpenTelemetry for Python
Simplifies Python application observability by integrating Azure Monitor with OpenTelemetry for automated logging, metrics, and tracing.
This skill provides a comprehensive guide and implementation patterns for the Azure Monitor OpenTelemetry Distro in Python, enabling one-line setup for Application Insights. It automates telemetry collection across popular frameworks like Flask, Django, and FastAPI, while offering detailed configurations for custom spans, metrics, and cloud role names. Ideal for developers needing production-grade observability with minimal boilerplate, it also covers advanced security practices like Azure AD authentication and sampling strategies to manage telemetry volume efficiently.
主要功能
01Support for custom telemetry including manual spans and resource attributes
02One-line auto-instrumentation for popular Python frameworks (Flask, Django, FastAPI)
03Secure authentication using Azure Active Directory (AAD) and Managed Identities
04Unified collection of traces, metrics, and logs in Azure Application Insights
05Advanced configuration for sampling, live metrics, and cloud role identification
060 GitHub stars
使用场景
01Monitoring production Python web services for performance bottlenecks and errors
02Standardizing logging and metrics collection in cloud-native Python applications
03Implementing distributed tracing across microservices hosted on Azure