{"id":"c9c185e1-55af-4066-963f-334445c09d7b","shortId":"WQMmBe","kind":"skill","title":"appinsights-instrumentation","tagline":"Instrument a webapp to send useful telemetry data to Azure App Insights","description":"# AppInsights instrumentation\n\nThis skill enables sending telemetry data of a webapp to Azure App Insights for better observability of the app's health.\n\n## When to use this skill\n\nUse this skill when the user wants to enable telemetry for their webapp.\n\n## Prerequisites\n\nThe app in the workspace must be one of these kinds\n\n- An ASP.NET Core app hosted in Azure\n- A Node.js app hosted in Azure\n\n## Guidelines\n\n### Collect context information\n\nFind 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.). \n\n### Prefer auto-instrument if possible\n\nIf the app is a C# ASP.NET Core app hosted in Azure App Service, use [AUTO guide](references/AUTO.md) to help user auto-instrument the app.\n\n### Manually instrument\n\nManually instrument the app by creating the AppInsights resource and update the app's code. \n\n#### Create AppInsights resource\n\nUse one of the following options that fits the environment.\n\n- Add AppInsights to existing Bicep template. See [examples/appinsights.bicep](examples/appinsights.bicep) for what to add. This is the best option if there are existing Bicep template files in the workspace.\n- Use Azure CLI. See [scripts/appinsights.ps1](scripts/appinsights.ps1) for what Azure CLI command to execute to create the App Insights resource.\n\nNo 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.\n\n#### Modify application code\n\n- If the app is an ASP.NET Core app, see [ASPNETCORE guide](references/ASPNETCORE.md) for how to modify the C# code.\n- If the app is a Node.js app, see [NODEJS guide](references/NODEJS.md) for how to modify the JavaScript/TypeScript code.\n- If the app is a Python app, see [PYTHON guide](references/PYTHON.md) for how to modify the Python code.","tags":["appinsights","instrumentation","awesome","copilot","github","agent-skills","agents","custom-agents","github-copilot","hacktoberfest","prompt-engineering"],"capabilities":["skill","source-github","skill-appinsights-instrumentation","topic-agent-skills","topic-agents","topic-awesome","topic-custom-agents","topic-github-copilot","topic-hacktoberfest","topic-prompt-engineering"],"categories":["awesome-copilot"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/github/awesome-copilot/appinsights-instrumentation","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add github/awesome-copilot","source_repo":"https://github.com/github/awesome-copilot","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 30743 github stars · SKILL.md body (2,331 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T00:52:03.313Z","embedding":null,"createdAt":"2026-04-18T21:48:09.846Z","updatedAt":"2026-04-22T00:52:03.313Z","lastSeenAt":"2026-04-22T00:52:03.313Z","tsv":"'add':103,232,244 'alway':136 'anyth':129 'app':14,29,36,59,72,78,153,160,168,178,184,188,201,207,216,276,291,320,328,333,347,351,365,369 'appinsight':2,16,211,220,233 'appinsights-instrument':1 'applic':91,97,111,142,324 'ask':137 'asp.net':70,182,331 'aspnetcor':335 'auto':172,191,198 'auto-instru':171,197 'azur':13,28,75,81,152,159,166,187,261,268,322 'best':248 'better':32 'bicep':236,254 'c':181,343 'candid':306 'choos':284 'cli':262,269 'code':118,156,218,325,344,362,380 'collect':83 'command':270 'comput':149 'confirm':124 'contain':163,167,314 'context':84 'core':71,183,332 'creat':209,219,274,289 'data':11,23 'determin':108 'e.g':145 'easier':303 'educ':122 'enabl':20,52 'environ':231 'etc':169 'examples/appinsights.bicep':239,240 'execut':272 'exist':235,253 'file':256 'find':86 'fit':229 'follow':226 'framework':92 'good':305 'group':298,312 'guess':123 'guid':192,336,354,372 'guidelin':82 'health':38 'help':195 'host':73,79,93,144,185,319 'inform':85 'insight':15,30,277,292 'instrument':3,4,17,114,173,199,203,205 'javascript/typescript':361 'kind':68 'know':133 'languag':90 'make':120,300 'manag':301 'manual':202,204 'matter':280 'meaning':296 'modifi':323,341,359,377 'must':63,135 'node.js':77,350 'nodej':353 'observ':33 'one':65,223 'option':227,249,282 'person':148 'possibl':175 'prefer':170 'prerequisit':57 'program':89 'python':368,371,379 'read':115 'recommend':285 'references/aspnetcore.md':337 'references/auto.md':193 'references/nodejs.md':355 'references/python.md':373 'resourc':212,221,278,293,297,302,311,316 'scripts/appinsights.ps1':264,265 'see':238,263,334,352,370 'send':8,21 'servic':154,161,189 'skill':19,43,46 'skill-appinsights-instrumentation' 'sourc':117 'source-github' 'support':105 'telemetri':10,22,53,104 'templat':237,255 'topic-agent-skills' 'topic-agents' 'topic-awesome' 'topic-custom-agents' 'topic-github-copilot' 'topic-hacktoberfest' 'topic-prompt-engineering' 'tri':101 'tupl':94 'updat':214 'use':9,41,44,190,222,260 'user':49,99,127,139,196,287 'want':50 'webapp':6,26,56 'workspac':62,259","prices":[{"id":"f573a861-6210-4869-bb38-48fa53a0db25","listingId":"c9c185e1-55af-4066-963f-334445c09d7b","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"github","category":"awesome-copilot","install_from":"skills.sh"},"createdAt":"2026-04-18T21:48:09.846Z"}],"sources":[{"listingId":"c9c185e1-55af-4066-963f-334445c09d7b","source":"github","sourceId":"github/awesome-copilot/appinsights-instrumentation","sourceUrl":"https://github.com/github/awesome-copilot/tree/main/skills/appinsights-instrumentation","isPrimary":false,"firstSeenAt":"2026-04-18T21:48:09.846Z","lastSeenAt":"2026-04-22T00:52:03.313Z"}],"details":{"listingId":"c9c185e1-55af-4066-963f-334445c09d7b","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"github","slug":"appinsights-instrumentation","github":{"repo":"github/awesome-copilot","stars":30743,"topics":["agent-skills","agents","ai","awesome","custom-agents","github-copilot","hacktoberfest","prompt-engineering"],"license":"mit","html_url":"https://github.com/github/awesome-copilot","pushed_at":"2026-04-21T22:20:21Z","description":"Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.","skill_md_sha":"81056fdc7979a62c74014f858cd1fc67132a9675","skill_md_path":"skills/appinsights-instrumentation/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/github/awesome-copilot/tree/main/skills/appinsights-instrumentation"},"layout":"multi","source":"github","category":"awesome-copilot","frontmatter":{"name":"appinsights-instrumentation","description":"Instrument a webapp to send useful telemetry data to Azure App Insights"},"skills_sh_url":"https://skills.sh/github/awesome-copilot/appinsights-instrumentation"},"updatedAt":"2026-04-22T00:52:03.313Z"}}