Skip to content
Skillpedia
Deploy & cloud (DevOps)40k · #4995

appinsights-instrumentation

Has your agent add monitoring to web applications to send telemetry data.

What it does

This tool helps add a monitoring system to your web application. It sends information about the app's performance and health to Azure App Insights, allowing you to see how it's running.

When to use it

  • ✓When you want to monitor your website's performance.
  • ✓When you need to know if your application is working correctly.
  • ✓When you want to get alerts about issues in your application.

Example of what to ask your AI

“Add monitoring to my Node.js web app hosted on Azure.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/github/awesome-copilot/blob/main/skills/appinsights-instrumentation/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/appinsights-instrumentation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool first checks your app's type and where it's hosted. Then, it can try to set up monitoring automatically or guide you to do it manually by adding monitoring to your app's code or using Azure tools.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add github/awesome-copilot --skill appinsights-instrumentation

Or download just the file:

curl -L https://raw.githubusercontent.com/github/awesome-copilot/main/skills/appinsights-instrumentation/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

AppInsights instrumentation

This skill enables sending telemetry data of a webapp to Azure App Insights for better observability of the app's health.

When to use this skill

Use this skill when the user wants to enable telemetry for their webapp.

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.
FAQ

What is Azure App Insights?

It's an Azure service that collects telemetry data (performance and usage information) from your applications to help monitor their health and identify issues.

Does my app need to be hosted on Azure?

Yes, this feature is for web applications that are already hosted on Azure, such as ASP.NET Core or Node.js.

How do I know what language my app uses?

The tool will try to figure it out, but you might need to tell it if your app is built with C# (for ASP.NET Core), JavaScript/TypeScript (for Node.js), or Python.

Details

Original description by the author

Instrument a webapp to send useful telemetry data to Azure App Insights

repo: github/awesome-copilot

Popularity

GitHub stars
40k
Ranking position
#4995
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills