Appinsights Instrumentation
Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references.
Install
Quick install
npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure/tree/main/plugin/skills/appinsights-instrumentationnpx skills add microsoft/GitHub-Copilot-for-Azure --skill appinsights-instrumentation --agent claude-codenpx skills add microsoft/GitHub-Copilot-for-Azure --skill appinsights-instrumentation --agent cursornpx skills add microsoft/GitHub-Copilot-for-Azure --skill appinsights-instrumentation --agent codexnpx skills add microsoft/GitHub-Copilot-for-Azure --skill appinsights-instrumentation --agent opencodenpx skills add microsoft/GitHub-Copilot-for-Azure --skill appinsights-instrumentation --agent github-copilotnpx skills add microsoft/GitHub-Copilot-for-Azure --skill appinsights-instrumentation --agent windsurfMore install options
Shorthand — useful for multi-skill repos:
npx skills add microsoft/GitHub-Copilot-for-Azure --skill appinsights-instrumentationManual — clone the repo and drop the folder into your agent's skills directory:
git clone https://github.com/microsoft/GitHub-Copilot-for-Azure.gitcp -r GitHub-Copilot-for-Azure/plugin/skills/appinsights-instrumentation ~/.claude/skills/appinsights-instrumentation
Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references.
appinsights-instrumentationby Azure
Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references.npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill appinsights-instrumentationDownload ZIPGitHub
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
- A Node.js app hosted in Azure
Guidelines
Collect context information
Find out the (programming language, application framework, hosting) tuple of the application the user is trying to add telemetry support in. This determines how the application can be instrumented. Read the source code to make an educated guess. Confirm with the user on anything you don't know. You must always ask the user where the application is hosted (e.g. on a personal computer, in an Azure App Service as code, in an Azure App Service as container, in an Azure Container App, etc.).
Prefer auto-instrument if possible
If the app is a C# ASP.NET Core app hosted in Azure App Service, use AUTO guide to help user auto-instrument the app.
Manually instrument
Manually instrument the app by creating the AppInsights resource and update the app's code.
Create AppInsights resource
Use one of the following options that fits the environment.
- Add AppInsights to existing Bicep template. See examples/appinsights.bicep for what to add. This is the best option if there are existing Bicep template files in the workspace.
- Use Azure CLI. See scripts/appinsights.ps1 for what Azure CLI command to execute to create the App Insights resource.
No matter which option you choose, recommend the user to create the App Insights resource in a meaningful resource group that makes managing resources easier. A good candidate will be the same resource group that contains the resources for the hosted app in Azure.
Modify application code
- If the app is an ASP.NET Core app, see ASPNETCORE guide for how to modify the C# code.
- If the app is a Node.js app, see NODEJS guide for how to modify the JavaScript/TypeScript code.
- If the app is a Python app, see PYTHON guide for how to modify the Python code.
SDK Quick References
- OpenTelemetry Distro: Python | TypeScript
- OpenTelemetry Exporter: Python | Java
Platform-Specific Guides
- Container Apps: Observability Guide
More skills from Azure
azure-aiby AzureUse for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR.azure-aigatewayby AzureConfigure Azure API Management (APIM) as AI Gateway to secure, observe, control AI models, MCP servers, agents. Helps with rate limiting, semantic caching, content safety, load balancing.azure-complianceby AzureComprehensive Azure compliance and security auditing capabilities including best practices assessment, Key Vault expiration monitoring, and resource configuration validation.azure-computeby AzureRecommend Azure VM sizes, VM Scale Sets (VMSS), and configurations based on workload requirements, performance needs, and budget constraints.azure-cost-optimizationby AzureIdentify and quantify cost savings across Azure subscriptions by analyzing actual costs, utilization metrics, and generating actionable optimization recommendations.azure-deployby AzureExecute deployment to Azure. Final step after preparation and validation. Runs azd up, azd deploy, or infrastructure provisioning commands.azure-diagnosticsby AzureDebug and troubleshoot production issues on Azure. Covers Container Apps and Function Apps diagnostics, log analysis with KQL, health checks, and common issue resolution.azure-hosted-copilot-sdkby AzureBuild and deploy GitHub Copilot SDK apps to Azure.---
Source: https://github.com/microsoft/GitHub-Copilot-for-Azure/tree/main/plugin/skills/appinsights-instrumentation
Author: Azure
Discovered via: mcpservers.org
SKILL.md source
--- name: appinsights-instrumentation description: Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. --- # appinsights-instrumentation Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. # appinsights-instrumentationby Azure Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. `npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill appinsights-instrumentation`Download ZIPGitHub ## 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 * A Node.js app hosted in Azure ## Guidelines ### Collect context information Find out the (programming language, application framework, hosting) tuple of the application the user is trying to add telemetry support in. This determines how the application can be instrumented. Read the source code to make an educated guess. Confirm with the user on anything you don't know. You must always ask the user where the application is hosted (e.g. on a personal computer, in an Azure App Service as code, in an Azure App Service as container, in an Azure Container App, etc.). ### Prefer auto-instrument if possible If the app is a C# ASP.NET Core app hosted in Azure App Service, use AUTO guide to help user auto-instrument the app. ### Manually instrument Manually instrument the app by creating the AppInsights resource and update the app's code. Create AppInsights resource Use one of the following options that fits the environment. * Add AppInsights to existing Bicep template. See examples/appinsights.bicep for what to add. This is the best option if there are existing Bicep template files in the workspace. * Use Azure CLI. See scripts/appinsights.ps1 for what Azure CLI command to execute to create the App Insights resource. No matter which option you choose, recommend the user to create the App Insights resource in a meaningful resource group that makes managing resources easier. A good candidate will be the same resource group that contains the resources for the hosted app in Azure. Modify application code * If the app is an ASP.NET Core app, see ASPNETCORE guide for how to modify the C# code. * If the app is a Node.js app, see NODEJS guide for how to modify the JavaScript/TypeScript code. * If the app is a Python app, see PYTHON guide for how to modify the Python code. ## SDK Quick References * OpenTelemetry Distro: Python | TypeScript * OpenTelemetry Exporter: Python | Java ## Platform-Specific Guides * Container Apps: Observability Guide ## More skills from Azure azure-aiby AzureUse for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR.azure-aigatewayby AzureConfigure Azure API Management (APIM) as AI Gateway to secure, observe, control AI models, MCP servers, agents. Helps with rate limiting, semantic caching, content safety, load balancing.azure-complianceby AzureComprehensive Azure compliance and security auditing capabilities including best practices assessment, Key Vault expiration monitoring, and resource configuration validation.azure-computeby AzureRecommend Azure VM sizes, VM Scale Sets (VMSS), and configurations based on workload requirements, performance needs, and budget constraints.azure-cost-optimizationby AzureIdentify and quantify cost savings across Azure subscriptions by analyzing actual costs, utilization metrics, and generating actionable optimization recommendations.azure-deployby AzureExecute deployment to Azure. Final step after preparation and validation. Runs azd up, azd deploy, or infrastructure provisioning commands.azure-diagnosticsby AzureDebug and troubleshoot production issues on Azure. Covers Container Apps and Function Apps diagnostics, log analysis with KQL, health checks, and common issue resolution.azure-hosted-copilot-sdkby AzureBuild and deploy GitHub Copilot SDK apps to Azure. --- **Source**: https://github.com/microsoft/GitHub-Copilot-for-Azure/tree/main/plugin/skills/appinsights-instrumentation **Author**: Azure **Discovered via**: mcpservers.org
Related skills 6
caveman
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
secure-linux-web-hosting
Use when setting up, hardening, or reviewing a cloud server for self-hosting, including DNS, SSH, firewalls, Nginx, static-site hosting, reverse-proxying an app, HTTPS with Let's Encrypt or ACME clients, safe HTTP-to-HTTPS redirects, or optional post-launch network tuning such as BBR.
readme-i18n
Use when the user wants to translate a repository README, make a repo multilingual, localize docs, add a language switcher, internationalize the README, or update localized README variants in a GitHub-style repository.
lark-shared
Use when first setting up lark-cli, running auth login, switching user/bot identity (--as), handling permission denied or scope errors, needing to update lark-cli, or seeing _notice in JSON output.
improve-codebase-architecture
Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.
paper-context-resolver
Optional RigorPilot helper for README-first deep learning repo reproduction. Use only when the README and repository files leave a narrow reproduction-critical gap and the task is to resolve a specific paper detail such as dataset split, preprocessing, evaluation protocol, checkpoint mapping, or runtime assumption from primary paper sources while recording conflicts. Do not use for general paper summary, repo scanning, environment setup, command execution, title-only paper lookup, or replacin...