Automate or manually instrument Node.js or ASP.NET Core apps to send telemetry data to Azure App Insights.
Install
mkdir -p .claude/skills/appinsights-instrumentation && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2257" && unzip -o skill.zip -d .claude/skills/appinsights-instrumentation && rm skill.zipInstalls to .claude/skills/appinsights-instrumentation
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Instrument a webapp to send useful telemetry data to Azure App InsightsKey capabilities
- →Collect application context information
- →Auto-instrument ASP.NET Core apps in Azure App Service
- →Create App Insights resources using Bicep templates
- →Create App Insights resources using Azure CLI
- →Modify C# code for ASP.NET Core instrumentation
- →Modify JavaScript/TypeScript code for Node.js instrumentation
How it works
The skill first determines the webapp's environment and then either auto-instruments it or guides the user to manually create an App Insights resource and modify the application code.
Inputs & outputs
When to use appinsights-instrumentation
- →Enable telemetry for an ASP.NET Core app
- →Add App Insights to an existing Azure Bicep template
- →Instrument a Node.js webapp for observability
- →Setup monitoring for an Azure containerized app
About this skill
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.
Prerequisites
Limitations
- →The app must be an ASP.NET Core app hosted in Azure
- →The app must be a Node.js app hosted in Azure
How it compares
This skill provides specific instructions for instrumenting webapps for Azure App Insights, unlike a generic telemetry setup guide.
Compared to similar skills
appinsights-instrumentation side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| appinsights-instrumentation (this skill) | 6 | 7mo | Review | Beginner |
| azure-functions | 10 | 5mo | Review | Intermediate |
| aspire | 0 | 3mo | Review | Advanced |
| langfuse | 7 | 6mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by github
View all by github →You might also like
azure-functions
aj-geddes
Create serverless functions on Azure with triggers, bindings, authentication, and monitoring. Use for event-driven computing without managing infrastructure.
aspire
davidortinau
**WORKFLOW SKILL** - Orchestrates Aspire applications using the Aspire CLI and MCP tools for running, debugging, deploying, and managing distributed apps. USE FOR: aspire run, aspire stop, aspire deploy, start aspire app, aspire describe, list aspire integrations, debug aspire issues, view aspire lo
langfuse
davila7
Expert in Langfuse - the open-source LLM observability platform. Covers tracing, prompt management, evaluation, datasets, and integration with LangChain, LlamaIndex, and OpenAI. Essential for debugging, monitoring, and improving LLM applications in production. Use when: langfuse, llm observability, llm tracing, prompt management, llm evaluation.
instantly-observability
jeremylongshore
Set up comprehensive observability for Instantly integrations with metrics, traces, and alerts. Use when implementing monitoring for Instantly operations, setting up dashboards, or configuring alerting for Instantly integration health. Trigger with phrases like "instantly monitoring", "instantly metrics", "instantly observability", "monitor instantly", "instantly alerts", "instantly tracing".
apollo-observability
jeremylongshore
Set up Apollo.io monitoring and observability. Use when implementing logging, metrics, tracing, and alerting for Apollo integrations. Trigger with phrases like "apollo monitoring", "apollo metrics", "apollo observability", "apollo logging", "apollo alerts".
fireflies-observability
jeremylongshore
Set up comprehensive observability for Fireflies.ai integrations with metrics, traces, and alerts. Use when implementing monitoring for Fireflies.ai operations, setting up dashboards, or configuring alerting for Fireflies.ai integration health. Trigger with phrases like "fireflies monitoring", "fireflies metrics", "fireflies observability", "monitor fireflies", "fireflies alerts", "fireflies tracing".