Skill · em Outros

appinsights-instrumentation

Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best…

Procedência

Antes de instalar

13 arquivos · 23,8 KB · inclui 1 script que executa: scripts/appinsights.ps1

Instalar na sua CLI

O comando baixa a versão fixada (commit 117b038) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/skills/appinsights-instrumentation/.

d=".claude/skills/appinsights-instrumentation"
u="https://raw.githubusercontent.com/microsoft/azure-skills/117b038edfef5d7af09848b8ffcd355f28f19956/skills/appinsights-instrumentation"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/appinsights.bicep" "$u/examples/appinsights.bicep" \
  -o "$d/LICENSE.txt" "$u/LICENSE.txt" \
  -o "$d/references/aspnetcore.md" "$u/references/aspnetcore.md" \
  -o "$d/references/auto.md" "$u/references/auto.md" \
  -o "$d/references/container-apps.md" "$u/references/container-apps.md" \
  -o "$d/references/nodejs.md" "$u/references/nodejs.md" \
  -o "$d/references/python.md" "$u/references/python.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-exporter-java.md" "$u/references/sdk/azure-monitor-opentelemetry-exporter-java.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-exporter-py.md" "$u/references/sdk/azure-monitor-opentelemetry-exporter-py.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-py.md" "$u/references/sdk/azure-monitor-opentelemetry-py.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-ts.md" "$u/references/sdk/azure-monitor-opentelemetry-ts.md" \
  -o "$d/scripts/appinsights.ps1" "$u/scripts/appinsights.ps1"

Global: instala em ~/.claude/skills/appinsights-instrumentation/.

d="$HOME/.claude/skills/appinsights-instrumentation"
u="https://raw.githubusercontent.com/microsoft/azure-skills/117b038edfef5d7af09848b8ffcd355f28f19956/skills/appinsights-instrumentation"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/appinsights.bicep" "$u/examples/appinsights.bicep" \
  -o "$d/LICENSE.txt" "$u/LICENSE.txt" \
  -o "$d/references/aspnetcore.md" "$u/references/aspnetcore.md" \
  -o "$d/references/auto.md" "$u/references/auto.md" \
  -o "$d/references/container-apps.md" "$u/references/container-apps.md" \
  -o "$d/references/nodejs.md" "$u/references/nodejs.md" \
  -o "$d/references/python.md" "$u/references/python.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-exporter-java.md" "$u/references/sdk/azure-monitor-opentelemetry-exporter-java.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-exporter-py.md" "$u/references/sdk/azure-monitor-opentelemetry-exporter-py.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-py.md" "$u/references/sdk/azure-monitor-opentelemetry-py.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-ts.md" "$u/references/sdk/azure-monitor-opentelemetry-ts.md" \
  -o "$d/scripts/appinsights.ps1" "$u/scripts/appinsights.ps1"

Codex

Neste projeto: instala em .agents/skills/appinsights-instrumentation/.

d=".agents/skills/appinsights-instrumentation"
u="https://raw.githubusercontent.com/microsoft/azure-skills/117b038edfef5d7af09848b8ffcd355f28f19956/skills/appinsights-instrumentation"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/appinsights.bicep" "$u/examples/appinsights.bicep" \
  -o "$d/LICENSE.txt" "$u/LICENSE.txt" \
  -o "$d/references/aspnetcore.md" "$u/references/aspnetcore.md" \
  -o "$d/references/auto.md" "$u/references/auto.md" \
  -o "$d/references/container-apps.md" "$u/references/container-apps.md" \
  -o "$d/references/nodejs.md" "$u/references/nodejs.md" \
  -o "$d/references/python.md" "$u/references/python.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-exporter-java.md" "$u/references/sdk/azure-monitor-opentelemetry-exporter-java.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-exporter-py.md" "$u/references/sdk/azure-monitor-opentelemetry-exporter-py.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-py.md" "$u/references/sdk/azure-monitor-opentelemetry-py.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-ts.md" "$u/references/sdk/azure-monitor-opentelemetry-ts.md" \
  -o "$d/scripts/appinsights.ps1" "$u/scripts/appinsights.ps1"

Global: instala em ~/.agents/skills/appinsights-instrumentation/.

d="$HOME/.agents/skills/appinsights-instrumentation"
u="https://raw.githubusercontent.com/microsoft/azure-skills/117b038edfef5d7af09848b8ffcd355f28f19956/skills/appinsights-instrumentation"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/appinsights.bicep" "$u/examples/appinsights.bicep" \
  -o "$d/LICENSE.txt" "$u/LICENSE.txt" \
  -o "$d/references/aspnetcore.md" "$u/references/aspnetcore.md" \
  -o "$d/references/auto.md" "$u/references/auto.md" \
  -o "$d/references/container-apps.md" "$u/references/container-apps.md" \
  -o "$d/references/nodejs.md" "$u/references/nodejs.md" \
  -o "$d/references/python.md" "$u/references/python.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-exporter-java.md" "$u/references/sdk/azure-monitor-opentelemetry-exporter-java.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-exporter-py.md" "$u/references/sdk/azure-monitor-opentelemetry-exporter-py.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-py.md" "$u/references/sdk/azure-monitor-opentelemetry-py.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-ts.md" "$u/references/sdk/azure-monitor-opentelemetry-ts.md" \
  -o "$d/scripts/appinsights.ps1" "$u/scripts/appinsights.ps1"

Antigravity

Neste projeto: instala em .agents/skills/appinsights-instrumentation/.

d=".agents/skills/appinsights-instrumentation"
u="https://raw.githubusercontent.com/microsoft/azure-skills/117b038edfef5d7af09848b8ffcd355f28f19956/skills/appinsights-instrumentation"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/appinsights.bicep" "$u/examples/appinsights.bicep" \
  -o "$d/LICENSE.txt" "$u/LICENSE.txt" \
  -o "$d/references/aspnetcore.md" "$u/references/aspnetcore.md" \
  -o "$d/references/auto.md" "$u/references/auto.md" \
  -o "$d/references/container-apps.md" "$u/references/container-apps.md" \
  -o "$d/references/nodejs.md" "$u/references/nodejs.md" \
  -o "$d/references/python.md" "$u/references/python.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-exporter-java.md" "$u/references/sdk/azure-monitor-opentelemetry-exporter-java.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-exporter-py.md" "$u/references/sdk/azure-monitor-opentelemetry-exporter-py.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-py.md" "$u/references/sdk/azure-monitor-opentelemetry-py.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-ts.md" "$u/references/sdk/azure-monitor-opentelemetry-ts.md" \
  -o "$d/scripts/appinsights.ps1" "$u/scripts/appinsights.ps1"

Global: instala em ~/.gemini/antigravity-cli/skills/appinsights-instrumentation/.

d="$HOME/.gemini/antigravity-cli/skills/appinsights-instrumentation"
u="https://raw.githubusercontent.com/microsoft/azure-skills/117b038edfef5d7af09848b8ffcd355f28f19956/skills/appinsights-instrumentation"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/appinsights.bicep" "$u/examples/appinsights.bicep" \
  -o "$d/LICENSE.txt" "$u/LICENSE.txt" \
  -o "$d/references/aspnetcore.md" "$u/references/aspnetcore.md" \
  -o "$d/references/auto.md" "$u/references/auto.md" \
  -o "$d/references/container-apps.md" "$u/references/container-apps.md" \
  -o "$d/references/nodejs.md" "$u/references/nodejs.md" \
  -o "$d/references/python.md" "$u/references/python.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-exporter-java.md" "$u/references/sdk/azure-monitor-opentelemetry-exporter-java.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-exporter-py.md" "$u/references/sdk/azure-monitor-opentelemetry-exporter-py.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-py.md" "$u/references/sdk/azure-monitor-opentelemetry-py.md" \
  -o "$d/references/sdk/azure-monitor-opentelemetry-ts.md" "$u/references/sdk/azure-monitor-opentelemetry-ts.md" \
  -o "$d/scripts/appinsights.ps1" "$u/scripts/appinsights.ps1"

Peça ao Rook

Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/microsoft.azure-skills.appinsights-instrumentation

Prévia do SKILL.md

---
name: appinsights-instrumentation
description: "Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices."
license: MIT
metadata:
  author: Microsoft
  version: "1.2.1"
---

# 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
…

Ver todo o marketplace