Azure Monitor Log Ingestion (Python)
Sends custom logs to Azure Monitor Log Analytics workspaces using the high-performance Logs Ingestion API.
This skill provides a specialized interface for integrating Python applications with Azure Monitor, enabling the programmatic delivery of custom logs to Log Analytics. It simplifies complex ingestion tasks by managing Data Collection Endpoints (DCE) and Data Collection Rules (DCR), while offering built-in features for automated batching, gzip compression, and parallel uploads. It is an essential tool for developers implementing robust observability, custom telemetry, and centralized logging in Azure cloud-native environments.
主要功能
01Support for both synchronous and asynchronous client implementations
02Seamless integration with Logs Ingestion API and Data Collection Rules (DCR)
030 GitHub stars
04Advanced error handling with partial failure callbacks and retry patterns
05Standardized authentication using Azure Identity and DefaultAzureCredential
06Automated batching and GZIP compression for high-throughput uploads
使用场景
01Building high-performance, non-blocking monitoring agents for distributed systems
02Bulk ingestion of historical log data from JSON files or external databases
03Streaming application telemetry and custom diagnostic logs to Log Analytics