Azure Monitor OpenTelemetry Exporter for Python
Exports OpenTelemetry traces, metrics, and logs directly to Azure Monitor Application Insights for deep observability.
This skill provides a specialized guide for implementing low-level OpenTelemetry exporters within Python applications to send telemetry data to Azure Monitor. It focuses on granular control, allowing developers to build custom telemetry pipelines, configure advanced sampling via ApplicationInsightsSampler, and secure data ingestion using Azure AD authentication. It is particularly useful for complex cloud-native architectures where standard auto-instrumentation is insufficient and developers require precise management over how spans, metrics, and logs are processed and stored.
Key Features
01Enables secure Azure AD (Entra ID) authentication for telemetry ingestion
02Provides offline storage and retry logic to prevent data loss during outages
03Supports full OpenTelemetry signals including Traces, Metrics, and Logs
04Integrates with ApplicationInsightsSampler for consistent cross-service sampling
05Offers fine-grained control over custom OpenTelemetry SDK pipelines
060 GitHub stars
Use Cases
01Building custom observability pipelines in complex Python microservices
02Ensuring telemetry reliability with persistent offline buffering and retries
03Migrating existing OpenTelemetry-instrumented apps to Azure Application Insights