appinsights-instrumentation

Guide Azure Application Insights instrumentation for ASP.NET Core, Node.js, and Python apps.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/p-potvin/vaultwares-pipelines --skill appinsights-instrumentation-p-potvin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: appinsights-instrumentation
Source: https://github.com/p-potvin/vaultwares-pipelines/tree/main/.github/agents/agents/appinsights-instrumentation
Command: npx skills add https://github.com/p-potvin/vaultwares-pipelines --skill appinsights-instrumentation-p-potvin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Instrumentation and observability are frequently missing or inconsistent across web applications, making it hard to diagnose performance issues, errors, and user behavior. This guide explains patterns and configuration steps to add reliable telemetry using Azure Application Insights without making direct code changes for you.

Core Features & Use Cases

  • SDK setup and configuration: Step-by-step guidance for installing and configuring Application Insights SDKs and OpenTelemetry exporters for supported languages.
  • Instrumentation patterns: Advice on auto-instrumentation vs manual instrumentation, sampling, telemetry enrichment, and APM best practices.
  • Resource provisioning guidance: Options for creating App Insights resources via Bicep templates or Azure CLI and recommendations for resource grouping and environment selection.
  • Use Cases: Instrument an ASP.NET Core app on Azure App Service using auto-instrumentation, add manual telemetry to a Node.js API, or configure OpenTelemetry exports for a Python service.

Quick Start

Instrument my ASP.NET Core app hosted in Azure App Service with Application Insights and provide SDK setup, configuration steps, and example telemetry code.

Frequently Asked Questions about appinsights-instrumentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I instrument an ASP.NET Core app with Application Insights in Azure App Service?

To instrument an ASP.NET Core app with Application Insights, you can enable auto-instrumentation when hosting in Azure App Service. This guide provides SDK setup steps, configuration details, and example telemetry code to capture performance and error data without requiring manual code changes.

What is the difference between auto-instrumentation and manual telemetry configuration for Azure web apps?

Auto-instrumentation captures telemetry for Azure web apps without modifying code, while manual configuration involves integrating the Application Insights SDK or OpenTelemetry exporters directly. This guide covers patterns for both approaches, including sampling and telemetry enrichment best practices.

Can I use OpenTelemetry exporters to send telemetry to Azure Application Insights for Node.js and Python?

Yes, you can configure OpenTelemetry exporters to send telemetry to Application Insights for Node.js and Python services. This guide covers SDK installation, exporter configuration steps, and sample scripts for integrating OpenTelemetry with your applications.

How do I create an Application Insights resource using Bicep templates or Azure CLI?

You can create an Application Insights resource using Bicep templates or Azure CLI commands to define your infrastructure. This guide provides provisioning options, sample scripts, and recommendations for resource grouping and environment selection to establish your telemetry pipeline.

Does Application Insights support adding manual telemetry to a Node.js API?

Yes, Application Insights supports adding manual telemetry to a Node.js API by installing and configuring the SDK. This guide provides step-by-step instructions for manual code changes, telemetry patterns, and integration sample scripts for Node.js applications.