appinsights-instrumentation

Instrument ASP.NET Core and Node.js apps to send telemetry to Azure App Insights.

1|Updated May 4, 2026
One-click install
npx skills add https://github.com/beel-collab/presets.dev --skill appinsights-instrumentation-beel-collab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: appinsights-instrumentation
Source: https://github.com/beel-collab/presets.dev/tree/main/skills/appinsights-instrumentation
Command: npx skills add https://github.com/beel-collab/presets.dev --skill appinsights-instrumentation-beel-collab

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill enables instrumenting a web application to send telemetry data to Azure App Insights.

Core Features & Use Cases

  • Auto-instrument ASP.NET Core apps hosted in Azure App Service
  • Auto-instrument Node.js apps hosted in Azure App Service
  • Manual instrumentation: install client libraries for the selected runtime and configure the APPINSIGHTS_CONNECTION_STRING via environment variables or IaC templates.

Quick Start

Use the skill to instrument your web app by selecting ASP.NET Core or Node.js, then follow either the auto-instrument path in Azure or manual steps to install the OpenTelemetry client and set the APPLICATIONINSIGHTS_CONNECTION_STRING.

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 web app to send telemetry data to Azure App Insights?

To instrument a Node.js web app for Azure App Insights, you can use auto-instrumentation if hosted in Azure App Service, or manually install OpenTelemetry client libraries and configure the APPLICATIONINSIGHTS_CONNECTION_STRING environment variable to send telemetry data.

Does Azure App Service support auto-instrumentation for ASP.NET Core apps with App Insights?

Yes, Azure App Service supports auto-instrumentation for ASP.NET Core apps, enabling them to send telemetry to Azure App Insights without requiring manual code changes to install OpenTelemetry client libraries.

What's the best way to configure the App Insights connection string for application telemetry?

The best way to configure the App Insights connection string is by setting the APPLICATIONINSIGHTS_CONNECTION_STRING via environment variables or infrastructure-as-code templates, ensuring your web app can authenticate and send telemetry data.

Do I need OpenTelemetry client libraries for manual instrumentation of web apps?

Yes, you need to install OpenTelemetry client libraries for your selected runtime when performing manual instrumentation, allowing your web app to collect and send telemetry data to the Azure App Insights resource.

Can I use infrastructure-as-code templates to set up App Insights instrumentation?

Yes, you can use infrastructure-as-code templates to configure App Insights instrumentation by propagating the APPLICATIONINSIGHTS_CONNECTION_STRING, ensuring your ASP.NET Core or Node.js apps are correctly wired to the telemetry resource.