Skip to content
microsoft avatar

Appinsights Instrumentation

Guidance for instrumenting Azure-hosted webapps with Application Insights, covering ASP.NET Core, Node.js, and Python.

CCM score
67 of 100
skills.sh installs
769.4K
GitHub stars
1.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers context gathering, auto-instrumentation for ASP.NET Core on App Service, and manual instrumentation steps
  • Includes Bicep and Azure CLI references for creating the App Insights resource, plus per-language code guides
  • Provides SDK quick references for OpenTelemetry distro and exporter packages in Python, TypeScript, and Java
  • Designed for reference use only; resource changes are handled by the azure-prepare skill instead

Install

$ npx -y skills add microsoft/azure-skills --skill appinsights-instrumentation -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

AppInsights Instrumentation Guide

This skill provides guidance and reference material for instrumenting webapps with Azure Application Insights.

⛔ ADDING COMPONENTS?

If the user wants to add App Insights to their app, invoke azure-prepare instead. This skill provides reference material—azure-prepare orchestrates the actual changes.

When to Use This Skill

  • User asks how to instrument (guidance, patterns, examples)
  • User needs SDK setup instructions
  • azure-prepare invokes this skill during research phase
  • User wants to understand App Insights concepts

When to Use azure-prepare Instead

  • User says "add telemetry to my app"
  • User says "add App Insights"
  • User wants to modify their project
  • Any request to change/add components

Prerequisites

The app in the workspace must be one of these kinds

  • An ASP.NET Core app hosted in Azure
  • An Azure Container App
  • A Node.js app hosted in Azure
  • A Python app hosted in Azure

Guidelines

Collect context information

Details

Repository
github.com/microsoft/azure-skills
Categories
DevOps & Cloud, Backend & APIs, .NET & C#
First seen
Apr 16, 2026

Questions

What does the appinsights-instrumentation skill help with?

It gives guidance and reference material for instrumenting webapps with Azure Application Insights, covering telemetry patterns, SDK setup, and configuration. It supports ASP.NET Core, Node.js, and Python apps hosted in Azure, plus Azure Container Apps.

How do I install the appinsights-instrumentation skill?

Run npx -y skills add microsoft/azure-skills --skill appinsights-instrumentation -y in your project. The skill then lets your agent walk through Application Insights setup and telemetry patterns for the app.

Where does appinsights-instrumentation rank in its category?

It is in the DevOps & Cloud category and ranks in the top 10 on that category page. Its neighbors there include azure-diagnostics and azure-prepare, and it focuses on monitoring and telemetry guidance.

What do I need before using appinsights-instrumentation?

The app must be an ASP.NET Core app hosted in Azure, an Azure Container App, a Node.js app hosted in Azure, or a Python app hosted in Azure. The skill also asks where the application is hosted before recommending steps.

When should I use this skill instead of azure-prepare?

Use appinsights-instrumentation when you want to learn how to instrument your app. If you want the changes made to your project, the skill points you to azure-prepare, which orchestrates adding App Insights.

More from microsoft/azure-skills

All 29

Similar to Appinsights Instrumentation

More DevOps & Cloud