appinsights-instrumentation

Instrument ASP.NET Core, Node.js, and Python apps with Azure Application Insights SDKs.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/davidrrowley/CortexYouV3 --skill appinsights-instrumentation-davidrrowley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: appinsights-instrumentation
Source: https://github.com/davidrrowley/CortexYouV3/tree/main/.agents/skills/appinsights-instrumentation
Command: npx skills add https://github.com/davidrrowley/CortexYouV3 --skill appinsights-instrumentation-davidrrowley

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires azure-cli, application-insights, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps engineers and dev teams understand how to collect reliable telemetry from web applications by explaining when to auto-instrument, how to manually install SDKs, and how to configure connection strings and environment variables so telemetry flows into Azure Application Insights.

Core Features & Use Cases

  • Platform-specific SDK guidance: stepwise instructions for ASP.NET Core, Node.js, and Python including recommended client libraries and initialization patterns.
  • Resource and configuration recipes: Azure CLI script examples and Bicep guidance to create App Insights and link connection strings to running apps.
  • Auto-instrument vs manual workflow: guidance on using Azure Portal codeless instrumentation for supported App Service apps and when to prefer manual code changes.
  • Use Case: Add telemetry to an ASP.NET Core app hosted in Azure App Service to collect traces, metrics, and logs and configure the APPLICATIONINSIGHTS_CONNECTION_STRING as an environment variable.

Quick Start

Show me step-by-step guidance to instrument an ASP.NET Core, Node.js, or Python app hosted in Azure with Application Insights, including SDK setup, connection string configuration, and relevant CLI or Bicep snippets.

Frequently Asked Questions about appinsights-instrumentation

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

FAQPage Schema
How do I add Application Insights telemetry to an ASP.NET Core app hosted in Azure App Service?

Application Insights telemetry is added to ASP.NET Core apps by installing the SDK, configuring initialization, and setting the APPLICATIONINSIGHTS_CONNECTION_STRING environment variable. This Skill provides stepwise instructions and Azure CLI snippets to link the connection string to your Azure App Service.

When should I use auto-instrumentation versus manual SDK installation for Azure web apps?

Auto-instrumentation is suitable for supported App Service apps using codeless Azure Portal configuration, while manual SDK installation is preferred when you need custom telemetry control. This Skill guides you through both workflows to help you decide based on your platform and customization requirements.

Does Application Insights instrumentation work with Node.js and Python applications in Azure Container Apps?

Yes, Application Insights instrumentation works with Node.js and Python applications hosted in Azure Container Apps or similar Azure hosting. This Skill provides platform-specific code snippets and initialization patterns to configure the SDK and connection strings for these environments.

What's the best way to configure Application Insights connection strings using Azure CLI or Bicep?

The best way to configure connection strings is using Azure CLI scripts or Bicep templates to create the App Insights resource and link it to your app. This Skill includes configuration recipes that set up the APPLICATIONINSIGHTS_CONNECTION_STRING as an environment variable for running apps.

Why is my Application Insights telemetry not flowing from my Azure web app?

Telemetry stops flowing when the APPLICATIONINSIGHTS_CONNECTION_STRING is missing or the SDK initialization fails. This Skill helps resolve these issues by providing platform-specific code snippets and environment variable setup guidance for ASP.NET Core, Node.js, and Python applications.