microsoft avatar

Appinsights Instrumentation

The appinsights-instrumentation skill provides developers with guidance, reference materials, and best practices for instrumenting webapps with Azure Application Insights, including SDK setup instructions, telemetry patterns, and configuration examples for ASP.NET Core and Node.js applications. It helps developers understand Application Insights concepts and implement proper application performance monitoring, while directing users who need to actively modify their projects to the azure-prepare skill instead. The skill serves as a reference resource during the research and planning phase of adding telemetry to Azure-hosted applications.

skills.sh installs
103K
GitHub stars
217
last updated
Jun 11, 2026

Install

$ npx -y skills add microsoft/github-copilot-for-azure --skill appinsights-instrumentation --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/microsoft/github-copilot-for-azure
Categories
DevOps & CI/CD, Git & Pull Requests, AI & Agent Building, Cloud & Infrastructure

More from microsoft/github-copilot-for-azure

All 40
1coreyhaines31 avatarvideocoreyhaines31/marketingskillsWhen the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Also use when the user mentions 'video production,'94.3Kskills.sh installs
2insforge avatarinsforge-debuginsforge/insforge-skillsUse when diagnosing problems in an InsForge project — reactive failures (SDK error object, HTTP 4xx/5xx, gateway timeout 502/503/504, edge function failure or t61.2Kskills.sh installs
3google-labs-code avatarstitch-loopgoogle-labs-code/stitch-skillsTeaches agents to iteratively build websites using Stitch with an autonomous baton-passing loop pattern57.2Kskills.sh installs
4samber avatargolang-error-handlingsamber/cc-skills-golangIdiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the single handling45.3Kskills.sh installs
5expo avatareas-update-insightsexpo/skillsEAS service (paid). Check the health of published EAS Update: crash rates, install/launch counts, unique users, payload size, and the split between embedded and39.9Kskills.sh installs
6samber avatargolang-samber-slogsamber/cc-skills-golangStructured logging extensions for Golang using samber/slog-**** packages — multi-handler pipelines (slog-multi), log sampling (slog-sampling), attribute formatt39.8Kskills.sh installs