appinsights-instrumentation

Configure Azure Application Insights telemetry for ASP.NET Core, Node.js, and Python apps.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you understand how to add and configure Azure Application Insights telemetry for web applications without guessing which SDK, settings, or deployment steps to use.

Core Features & Use Cases

  • Instrumentation guidance: Explains how to add telemetry to ASP.NET Core, Node.js, and Python apps using Azure Monitor/OpenTelemetry patterns.
  • Deployment configuration: Shows how to set the required Application Insights connection string in Azure App Service, Container Apps, or Function Apps.
  • Auto-instrument vs manual setup: Helps you choose between codeless Azure Portal setup and code-based instrumentation depending on the hosting model.
  • Reference-driven workflow: Provides focused references for SDK setup, environment variables, and app-specific code changes.

Quick Start

Ask the skill how to instrument your app by sharing the app language, framework, and Azure hosting target.

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?

To add Application Insights telemetry to an ASP.NET Core app, you can use either codeless auto-instrumentation via the Azure Portal or manual SDK setup by modifying your code and configuring the connection string in your Azure App Service environment variables.

What is the difference between auto-instrumentation and manual SDK setup for Azure Monitor?

Auto-instrumentation enables Application Insights telemetry codelessly through the Azure Portal, while manual SDK setup requires code modification and explicit configuration of the OpenTelemetry or Application Insights SDK for greater control over collected telemetry data.

How do I configure the Application Insights connection string for Node.js web apps?

To configure the Application Insights connection string for Node.js web apps, set the connection string as an environment variable in your Azure hosting target like App Service, or pass it directly in your code during manual SDK initialization.

Does Azure Monitor telemetry work with Python applications deployed on Container Apps?

Yes, Azure Monitor telemetry works with Python applications on Container Apps by configuring the Application Insights connection string as an environment variable and applying the necessary SDK setup for telemetry collection.

Can I use OpenTelemetry patterns instead of the Application Insights SDK for telemetry instrumentation?

Yes, you can use OpenTelemetry patterns for telemetry instrumentation as the guidance supports configuring Azure Monitor with OpenTelemetry for ASP.NET Core, Node.js, and Python app scenarios.

When should I choose codeless auto-instrumentation over manual SDK setup for Azure App Service?

Choose codeless auto-instrumentation for quick setup without code changes, and select manual SDK setup when you need custom telemetry collection or have specific code modification requirements for your web application.