Agent skill · software engineering · aiskillstore

azure-monitor-opentelemetry-exporter-py

Azure Monitor OpenTelemetry Exporter for Python. Use for low-level OpenTelemetry export to Application Insights.

Why this skill is useful

Provides specific commands and code snippets for integrating OpenTelemetry with Azure Monitor that the AI wouldn't reliably generate on its own.

What it needs

Requires azure-monitor-opentelemetry-exporter installed locally. Requires azure account access. About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Azure Monitor OpenTelemetry Exporter for Python Low-level exporter for sending OpenTelemetry traces, metrics, and logs to Application Insights. Installation Environment Variables When to Use Scenario Use ---------- ----- Quick setup, auto-instrumentation azure-monitor-opentelemetry (distro) Custom OpenTelemetry pipeline azure-monitor-opentelemetry-exporter (this) Fine-grained control over telemetry azure-monitor-opentelemetry-exporter (this) Trace Exporter Metric Exporter Log Exporter From Environment Variable Exporters read APPLICATIONINSIGHTSCONNECTIONSTRING automatically: Azure AD Authentication Sampling Use ApplicationInsightsSampler for consistent sampling: Offline Storage Configure offline storage for retry: Disable Offline Storage Sovereign Clouds Exporter Types Exporter Telemetry Type Application Insights Table ---------- --------------- --------------------------- AzureMonitorTraceExporter Traces/Spans requests, dependencies, exceptions AzureMonitorMetricExporter Metrics customMetrics, performanceCounters AzureMonitorLogExporter Logs traces, customEvents Configuration Options Parameter Description Default ----------- ------------- --------- connectionstring Application Insights connection string From env var credential Azure credential for AAD auth None disableofflinestorage Disable retry storage False storagedirectory Custom storage path Temp directory Best Practices 1. Use BatchSpanProcessor for production (not SimpleSpanProcessor) 2. Use ApplicationInsightsSampler for consistent sampling across services 3. Enable offline storage for reliability in production 4. Use AAD authentication instead of instrumentation keys 5. Set export intervals appropriate for your workload 6. Use the distro (azure-monitor-opentelemetry) unless you need custom pipelines Limitations Use this skill only when the task clearly matches the scope described above. Do not treat the output as a substitute for environment-specific validation, testing, or expert review. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/azure-monitor-opentelemetry-exporter-py

View the source on GitHub

Browse the @skills marketplace