Toolverse
All skills

appinsights-instrumentation

by github

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

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
github
Category
DevOps
Views
5

About this skill

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

How to use

  1. Określ typ i środowisko aplikacji — przeczytaj kod źródłowy, aby zidentyfikować język programowania (C#, Node.js), framework oraz sposób hostowania (Azure App Service, Azure Container App, itp.). Potwierdź szczegóły z użytkownikiem.

  2. Wybierz metodę instrumentacji — jeśli aplikacja to ASP.NET Core C# hostowana w Azure App Service, użyj automatycznej instrumentacji (AUTO guide). W pozostałych przypadkach przejdź do instrumentacji ręcznej.

  3. Utwórz zasób App Insights — jeśli w projekcie istnieje szablon Bicep, dodaj konfigurację App Insights do istniejącego pliku (patrz przykład w examples/appinsights.bicep). Alternatywnie użyj Azure CLI z poleceniami zawartymi w scripts/appinsights.ps1. Upewnij się, że zasób zostanie utworzony w sensownej grupie zasobów.

  4. Zaktualizuj kod aplikacji — dodaj niezbędne biblioteki i inicjalizację klienta App Insights zgodnie z typem aplikacji (ASP.NET Core lub Node.js). Skonfiguruj connection string lub instrumentation key pobraną z nowo utworzonego zasobu.

  5. Przetestuj telemetrię — uruchom aplikację i sprawdź, czy dane trafiają do Azure App Insights. Weryfikuj metryki, logi i ślady w portalu Azure.

  6. Monitoruj i optymalizuj — obserwuj zdarzenia, wydajność i błędy w App Insights, aby zidentyfikować wąskie gardła i problemy w aplikacji.

Related skills

task-master

by sfc-gh-dflippo

AI-powered task management for structured, specification-driven development. Use this skill when you need to manage complex projects with PRDs, break down tasks into subtasks, track dependencies, and maintain organized development workflows across features and branches.

DevOps
14126

context7

by mikha08-rgb

Search GitHub issues, pull requests, and discussions across any repository. Activates when researching external dependencies (whisper.cpp, NAudio), looking for similar bugs, or finding implementation examples.

DevOps
51166

turborepo

by vercel

Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines,\ndependsOn, caching, remote cache, the \

DevOps
1066

senior-data-engineer

by davila7

World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka, and modern data stack. Includes data modeling, pipeline orchestration, data quality, and DataOps. Use when

DevOps
1268

pmbok-project-management

by jgtolentino

Comprehensive PMP/PMBOK project management methodologies and best practices. Use this skill when users need guidance on project management processes, templates, knowledge areas, process groups, tools, techniques, or certification preparation. Covers all 10 PMBOK Knowledge Areas

DevOps
21133

postmortem-writing

by wshobson

Write effective blameless postmortems with root cause analysis, timelines, and action items. Use when conducting incident reviews, writing postmortem documents, or improving incident response processes.

DevOps
1385