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
Not recommended
49/ 100 5-point scale 2.5 / 5
Trust15 / 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.

Reliability7 / 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.

Adaptability9 / 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.

Convention9 / 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.

Effectiveness6 / 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.

Verifiability3 / 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 it does & when to 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.

Pros & cons

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 to install

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 to use

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.

Compared to similar skills

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 Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

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

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

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.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills