appinsights-instrumentation

Configures Azure Application Insights for ASP.NET Core and Node.js apps.

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/webmaxru/octocat_supply --skill appinsights-instrumentation-webmaxru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: appinsights-instrumentation
Source: https://github.com/webmaxru/octocat_supply/tree/main/.github/skills/appinsights-instrumentation
Command: npx skills add https://github.com/webmaxru/octocat_supply --skill appinsights-instrumentation-webmaxru

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 developers quickly add observability to web applications by sending structured telemetry to Azure Application Insights, reducing time spent diagnosing production issues and improving monitoring coverage.

Core Features & Use Cases

  • Auto-instrumentation guidance: Provide a codeless auto-instrumentation path for supported Azure App Service apps using the Azure Portal.
  • Manual instrumentation instructions: Walk through creating an App Insights resource via Bicep or Azure CLI and modifying app code for ASP.NET Core, Node.js, or Python to install and configure client libraries.
  • Environment configuration: Explain how to set the APPLICATIONINSIGHTS_CONNECTION_STRING as an environment variable in App Service, Container Apps, or Function Apps.
  • Use Case: For a Node.js app hosted in Azure App Service, this Skill can create the App Insights resource, show how to install @azure/monitor-opentelemetry, and instruct where to call the setup method to begin sending telemetry.

Quick Start

Help me instrument my Node.js webapp hosted in Azure App Service with Azure App Insights, including creating the resource and updating the code and environment variables.

Frequently Asked Questions about appinsights-instrumentation

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

FAQPage Schema
How do I instrument a Node.js app to send telemetry to Azure Application Insights?

To instrument Node.js apps for Azure Application Insights telemetry, install the @azure/monitor-opentelemetry client library, call the setup method in your code, and set the APPLICATIONINSIGHTS_CONNECTION_STRING environment variable in your hosting environment.

What's the best way to enable Azure App Insights for ASP.NET Core without changing code?

The best way to enable Azure App Insights without code changes is using codeless auto-instrumentation through the Azure Portal, which is available for supported apps hosted in Azure App Service to automatically collect telemetry.

How do I create an Application Insights resource and configure connection strings for container apps?

Create an Application Insights resource using Azure CLI or Bicep, then configure telemetry by setting the APPLICATIONINSIGHTS_CONNECTION_STRING environment variable in your Container Apps or Function Apps environment to link the deployed application.

Does Azure App Insights auto-instrumentation work for container environments?

Azure App Insights auto-instrumentation applies to supported Azure App Service apps via the Azure Portal, but container environments require manual instrumentation by configuring client libraries and setting the APPLICATIONINSIGHTS_CONNECTION_STRING environment variable.

Why do I need to set the APPLICATIONINSIGHTS_CONNECTION_STRING environment variable for web app monitoring?

Setting the APPLICATIONINSIGHTS_CONNECTION_STRING environment variable is required for web app monitoring because it links your application's client libraries to the specific Azure Application Insights resource that ingests and processes the telemetry data.