appinsights-instrumentation

Instrument web apps to send telemetry data to Azure App Insights.

1|Updated Jan 30, 2023
One-click install
npx skills add https://github.com/ncksol/ravebot --skill appinsights-instrumentation-ncksol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: appinsights-instrumentation
Source: https://github.com/ncksol/ravebot/tree/main/.github/skills/appinsights-instrumentation
Command: npx skills add https://github.com/ncksol/ravebot --skill appinsights-instrumentation-ncksol

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires az, application-insights, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Instrument web apps to send telemetry to Azure App Insights for improved observability and health monitoring.

Core Features & Use Cases

  • Auto-instrument guided by Azure Monitor for ASP.NET Core, Node.js, and Python apps.
  • Manual instrumentation guidance: add App Insights resource, configure environment variables, and deploy changes.
  • Example: a web app deployed to Azure App Service or container app can emit telemetry for requests, dependencies, and exceptions.

Quick Start

Ask your assistant to enable App Insights on your ASP.NET Core, Node.js, or Python app and provide the connection string.

Frequently Asked Questions about appinsights-instrumentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I instrument a Python web app to send telemetry to Azure App Insights?

Instrument a Python web app for Azure App Insights by configuring auto-instrumentation or adding manual code changes. You must set the correct Application Insights connection string via environment variables to emit telemetry data.

Can I use auto-instrumentation for Azure App Insights on an ASP.NET Core app?

Azure App Insights supports auto-instrumentation for ASP.NET Core apps via Azure Monitor. This enables the app to emit telemetry for requests, dependencies, and exceptions without requiring extensive manual code modifications.

What's the best way to configure Azure App Insights environment variables for Node.js apps?

Configure Azure App Insights for Node.js apps by supplying the correct connection string via environment variables. This setup captures prerequisites and environment configuration, allowing telemetry data to be sent to Azure.

Does Azure App Insights telemetry work for web apps hosted on-premises?

Azure App Insights telemetry works for web apps hosted both in Azure and on-premises. You must apply the necessary code changes or auto-instrumentation and ensure the connection string is correctly supplied via environment variables.

When do I need manual instrumentation instead of auto-instrumentation for Azure App Insights?

Manual instrumentation for Azure App Insights is needed when auto-instrumentation is unavailable. It requires you to manually add the App Insights resource, configure environment variables, and deploy code changes to capture telemetry.