azure-monitor-opentelemetry-ts
Auto-instrument Node.js applications with distributed tracing, metrics, and logs.
npx skills add sickn33/agentic-awesome-skills --skill azure-monitor-opentelemetry-ts --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Azure Monitor OpenTelemetry SDK for TypeScript Auto-instrument Node.js applications with distributed tracing, metrics, and logs. ## Installation ```bash # Distro (recommended - auto-instrumentation) npm install @azure/monitor-opentelemetry # Low-level exporters (custom OpenTelemetry setup) npm install @azure/monitor-opentelemetry-exporter # Custom logs ingestion npm install @azure/monitor-ingestion ``` ## Environment Variables ```bash APPLICATIONINSIGHTS_CONNECTION_STRING=InstrumentationKey=...;IngestionEndpoint=... ``` ## Quick Start (Auto-Instrumentation) **IMPORTANT:** Call `useAzureMonitor()` BEFORE importing other modules. ```typescript import { useAzureMonitor } from "@azure/monitor-opentelemetry"; useAzureMonitor({ azureMonitorExporterOptions: { connectionString: process.env.APPLICATIONINSIGHTS_CONNECTION_STRING } }); // Now import your application import express from "express"; const app = express(); ``` ## ESM Support (Node.js 18.19+) ```bash node --import @azure/monitor-opentelemetry/loader ./dist/index.js ``` **package.json:** ```json { "scripts": { "start": "node --import @azure/monitor-opentelemetry/loader ./dist/index.js" } } ``` ## Full Configuration ```typescript
- Installation
- Environment Variables
- Quick Start (Auto-Instrumentation)
- ESM Support (Node.js 18.19+)
- Full Configuration
- Custom Traces
- Custom Metrics
- Manual Exporter Setup
- Trace Exporter
- Metric Exporter
- Log Exporter
- Custom Logs Ingestion
- Custom Span Processor
- Sampling
Distro (recommended - auto-instrumentation) npm install @azure/monitor-opentelemetry Low-level exporters (custom OpenTelemetry setup) npm install @azure/monitor-opentelemetry-exporter Custom logs ingestion npm install @azure/monitor-ingestion node --import @azure/monitor-opentelemetry/loader ./dist/index.js
What does the azure-monitor-opentelemetry-ts skill do?
Auto-instrument Node.js applications with distributed tracing, metrics, and logs.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill azure-monitor-opentelemetry-ts --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.