LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/microsoft/skills --skill azure-monitor-opentelemetry-ts
or paste the link and ask your coding assistant to install it
https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-typescript/skills/azure-monitor-opentelemetry-ts
View on GitHub

What This Skill Does

Instruments Node.js applications with distributed tracing, metrics, and logs using the OpenTelemetry SDK and Azure Monitor as the backend. Connects to Application Insights via a connection string and auto-instruments common libraries like Express, MongoDB, PostgreSQL, and Redis. Supports both auto-instrumentation with a single setup call and manual exporter configuration for custom pipelines.

Auto-instrumentation via useAzureMonitor() captures HTTP, database, and Azure SDK calls without manually wrapping each call, which would otherwise require significant boilerplate for each library.

When to use it

  • Adding distributed tracing to a Node.js Express API with zero code changes
  • Sending custom histograms and counters to Application Insights from a background worker
  • Routing structured logs from a TypeScript service into Azure Monitor for querying
  • Filtering or enriching spans before export using a custom span processor
  • Uploading batches of custom log records to a Data Collection Rule endpoint