Dev & Engineering ✓ Microsoft · Official pythonopentelemetryapplication-insightsazure-monitortelemetry-exportentra-authenticationoffline-storage

Azure Monitor OpenTelemetry Exporter

Build a controlled Python OpenTelemetry pipeline that exports traces, metrics, and logs to Application Insights.

FollowSkills review · FSRS-2.0
Use with care
49/ 100 5-point scale 2.5 / 5
1 2 3 4 5 6
1Trust15 / 25 · 3.0/5

The documentation recommends DefaultAzureCredential, constraining production credential chains, avoiding instrumentation keys, and states that telemetry is sent to Application Insights. However, it does not explain possible sensitive-data capture, retention or redaction, least-privilege RBAC, user confirmation, external network effects, or recovery boundaries, so points are deducted. No malware, credential theft, covert exfiltration, destructive default, or other red-line behavior is evident.

2Reliability7 / 20 · 1.8/5

Installation, authentication, the three exporter types, offline storage, and shutdown guidance provide a plausible happy path, with some retry configuration. However, there are no skill-specific tests, compatibility matrix, abnormal-input handling, or diagnostic failure messages. The skill requires flush/shutdown at exit but most examples do not demonstrate it, so points are deducted. Static calibration caps this score at 10.

3Adaptability9 / 15 · 3.0/5

The name, trigger phrases, Python audience, and low-level exporter positioning are clear, and the skill distinguishes the distro from custom pipelines. It does not clearly define non-fit cases, input/output contracts, semantic trigger boundaries, Chinese-language usage, or mainland-China network, regional, and proxy considerations, so points are deducted.

4Convention9 / 15 · 3.0/5

Front matter supplies the MIT license, author, and version 1.0.0; the documentation separates the main guide from reference scenarios, while the README, license, CI, and security-reporting material provide some governance signals. Changelog, pinned dependency guidance, explicit maintenance/update ownership, troubleshooting, and complete limitation notes are missing, and some reference content is duplicated, so points are deducted.

5Effectiveness6 / 15 · 2.0/5

Examples cover traces, metrics, logs, Entra authentication, sampling, offline storage, and sovereign clouds, making the core export workflows directly useful. Complete dependency installation, sensitive-telemetry governance, a consistent shutdown example, and verified representative outputs are absent, so users still need review and completion; the score stays below the static ceiling of 7.

6Verifiability3 / 10 · 1.5/5

The skill includes concrete APIs, environment variables, and configuration examples, and the repository provides general CI, evaluation workflows, and test infrastructure. The supplied material contains no skill-specific test suite, execution results, pinned versions, or independent corroboration, so the assessment relies mainly on author documentation. Static calibration caps this score at 5.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Telemetry may contain application logs, exceptions, attributes, and request data; verify redaction, sampling, retention, RBAC, and regional or cross-border data-transfer requirements before deployment.
  • Examples do not consistently show provider.shutdown()/force_flush(), and the install command does not explicitly list azure-identity and OpenTelemetry dependencies or compatible versions; validate in the target environment.
  • Triggering is narrow, and the skill does not fully define boundaries against the azure-monitor-opentelemetry distro, sync/async usage, or mainland-China networking and sovereign-cloud constraints.
See the full review method →

What does this skill do, and when should you use it?

This skill is for Python developers building a custom OpenTelemetry pipeline. It explains how to use Azure Monitor OpenTelemetry Exporter to send traces, metrics, and logs to Application Insights. The guidance covers Microsoft Entra authentication, sampling, offline retry storage, sovereign clouds, and explicit provider shutdown. For quick setup with auto-instrumentation, the source recommends the azure-monitor-opentelemetry distro instead.

It instructs users to install the azure-monitor-opentelemetry-exporter Python package, read APPLICATIONINSIGHTS_CONNECTION_STRING to identify the Application Insights resource, and authenticate ingestion with DefaultAzureCredential or another Azure credential. It configures AzureMonitorTraceExporter, AzureMonitorMetricExporter, and AzureMonitorLogExporter for traces/spans, metrics, and logs. It also demonstrates BatchSpanProcessor, PeriodicExportingMetricReader, BatchLogRecordProcessor, ApplicationInsightsSampler, offline storage, retry behavior, and sovereign-cloud endpoints.

  1. A Python team needs separate control over trace, metric, and log exporters in a custom OpenTelemetry pipeline.
  2. A service must authenticate telemetry ingestion with Microsoft Entra ID instead of relying on instrumentation keys.
  3. A production workload needs batching, consistent sampling, and offline retry storage for transient failures.
  4. A developer is targeting Azure Government or another sovereign-cloud endpoint with a custom authority.
  5. A project already uses the OpenTelemetry SDK but does not need the full auto-instrumentation distro.

What are this skill's strengths and limitations?

Pros
  • Covers traces, metrics, and logs.
  • Supports DefaultAzureCredential, specific Azure credentials, sampling, offline storage, and sovereign clouds.
  • Includes copyable Python examples and production-oriented guidance.
  • The repository is MIT-licensed and described as actively maintained.
Limitations
  • It is a low-level custom-exporter skill rather than a quick auto-instrumentation solution.
  • Applications must explicitly manage provider flushing and shutdown.
  • The source does not document independent test coverage or a version compatibility matrix for this individual skill.
  • Offline storage requires local filesystem configuration and writes.

How do you install this skill?

Install the collection with npx skills add microsoft/skills, then select this skill in the wizard; it is installed into the chosen Agent directory, such as .github/skills/ for GitHub Copilot. In the Python project, run: pip install azure-monitor-opentelemetry-exporter. The source does not document exact installation paths for other Agents.

How do you use this skill?

Use a trigger such as "azure-monitor-opentelemetry-exporter", "AzureMonitorTraceExporter", "AzureMonitorMetricExporter", or "AzureMonitorLogExporter". Set APPLICATIONINSIGHTS_CONNECTION_STRING; when using DefaultAzureCredential in production, also set AZURE_TOKEN_CREDENTIALS=prod or a specific credential. Configure the required exporter and call provider.shutdown() or force_flush() when the process exits.

How does this skill compare with similar options?

Compared with the azure-monitor-opentelemetry distro, this skill is intended for custom pipelines and fine-grained control; the distro is intended for quick setup and auto-instrumentation.

FAQ

Is this the right choice for a quick Application Insights setup?
Not necessarily. The source recommends azure-monitor-opentelemetry for quick setup and auto-instrumentation; this skill targets custom pipelines and fine-grained control.
Do I have to use an instrumentation key?
No. The skill uses APPLICATIONINSIGHTS_CONNECTION_STRING to identify the resource and recommends DefaultAzureCredential or another Azure credential for Microsoft Entra authentication.
What happens when telemetry export fails?
Offline storage is enabled by default for retry, and storage_directory can customize its location. Setting disable_offline_storage=True disables retry storage.
Does using this skill add a stated cost?
The source states that the repository is MIT-licensed but does not provide pricing information for Application Insights or Azure services.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Monitor OpenTelemetry for Python

Connect Python applications to Application Insights with one-line OpenTelemetry setup.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Telemetry for Java

Guides Java teams in exporting OpenTelemetry data to Azure Monitor.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor OpenTelemetry for TypeScript

Add Application Insights observability to Node.js services with OpenTelemetry.

Dev & Engineering ✓ Microsoft · Official

Application Insights Web Monitoring

Instrument browser and React Native apps with Application Insights for user behavior, requests, errors, and GenAI trace visibility.

Dev & Engineering ✓ Microsoft · Official

Azure Fabric Capacity Manager

Manage Microsoft Fabric capacities and their lifecycle with the Azure Python SDK.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Dev & Engineering ✓ Microsoft · Official

Azure Application Insights Instrumentation Guide

Practical guidance for adding Application Insights telemetry to Azure-hosted ASP.NET Core and Node.js web apps.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Custom Log Ingestion

Guides Python agents to send custom logs to Log Analytics through the Logs Ingestion API.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Java

Query Azure Monitor logs and resource metrics from Java applications.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Dev & Engineering ✓ Microsoft · Official

Azure Data Lake Gen2 for Python

Guides Python developers through hierarchical file-system and large-file operations on Azure Data Lake Storage Gen2.

Automation & Ops ✓ Microsoft · Official

Azure Production Diagnostics

Systematically investigate Azure production failures, identify root causes, and guide safe remediation.

Dev & Engineering ✓ Microsoft · Official

FastAPI Router Builder

Create consistent FastAPI CRUD routes with authentication and typed responses.

Dev & Engineering ✓ Microsoft · Official

Microsoft Entra Agent ID Provisioning

Provision OAuth2-capable identities for AI agents through Microsoft Graph beta.

Dev & Engineering ✓ Microsoft · Official

Azure AI Transcription for Python

Guides Python applications through Azure AI real-time and batch speech-to-text transcription.

Dev & Engineering ✓ Microsoft · Official

Azure Short-Audio Speech-to-Text REST

Transcribe audio up to 60 seconds with Python HTTP requests.

Dev & Engineering ✓ Microsoft · Official

MCP Server Development Guide

A practical guide to building clear, testable MCP servers that let LLMs work with external APIs.

Dev & Engineering ✓ Microsoft · Official

Azure Content Understanding for Python

Extract structured multimodal content from documents, images, audio, and video with Python.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Log Ingestion for Java

Guides Java applications in sending structured custom logs to Azure Monitor through DCRs.

Related skills