Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The app-insights-instrumentation skill helps you instrument web applications to send telemetry to Azure Application Insights and Azure Monitor. Use it to add Application Insights SDKs, configure connection strings, set up custom events and metrics, and diagnose telemetry collection gaps.
Skill appinsights-instrumentation | Source code
What it provides
You get step-by-step instrumentation guidance for adding Application Insights SDKs to web applications, configuring connection strings and telemetry channels, setting up custom events and metrics, and ensuring telemetry flows correctly to Azure Monitor. Covers ASP.NET, Node.js, Python, and Java applications.
Prerequisites
- Azure subscription: Create a free account if you don't have one.
- AI assistant with Azure Skills: GitHub Copilot for Azure, Visual Studio Code with Azure MCP extension, Claude Code, or another compatible MCP client.
- PowerShell (v7.4+): Install with
winget install Microsoft.PowerShell. - Azure CLI with Bicep (v2.60.0+): Install, sign in with
az login, then runaz bicep install. - Azure Application Insights resource, Azure Monitor workspace or application source code (ASP.NET, Node.js, Python, or Java).
When to use this skill
Use this skill when you need to:
- Work with App Insights SDK, telemetry patterns, Application Insights guidance, and instrumentation examples
- Work with APM best practices
Example prompts
Try these prompts to activate this skill:
- "How do I instrument my app with App Insights?"
- "Add the App Insights SDK to my project"
- "Show me telemetry patterns"
- "What is Application Insights?"
- "Application Insights guidance for my Node.js app"
- "Instrumentation examples for ASP.NET"
- "APM best practices for Azure Monitor"