Azure Monitor Log Ingestion for Python
Simplifies sending custom logs to Azure Monitor Log Analytics using the Python SDK and Logs Ingestion API.
This skill provides specialized guidance for implementing the Azure Monitor Ingestion SDK in Python applications. It streamlines the process of sending custom log data to Log Analytics workspaces by providing standardized patterns for authentication via DefaultAzureCredential, configuration of Data Collection Endpoints (DCE), and management of Data Collection Rules (DCR). Whether you are building synchronous scripts or high-throughput asynchronous services, this skill helps you implement robust logging with built-in error handling, automatic batching, and sovereign cloud support.
主要功能
01Automatic batching and gzip compression for large log volumes
02Support for both synchronous and asynchronous Python clients
03Robust error handling with custom failure retry callbacks
040 GitHub stars
05Standardized implementation of the Azure Logs Ingestion API
06Pre-configured patterns for Azure Government and sovereign clouds
使用场景
01Implementing custom telemetry pipelines for Azure Functions and serverless apps
02Streaming application performance data from Python microservices to Log Analytics
03Centralizing logs from legacy Python systems into the Azure Monitor ecosystem