Agent skill · software engineering · aiskillstore

azure-monitor-opentelemetry-ts

Auto-instrument Node.js applications with distributed tracing, metrics, and logs.

Why this skill is useful

Provides specific commands and configurations for auto-instrumenting Node.js applications with Azure Monitor and OpenTelemetry that the AI wouldn't reliably generate on its own.

What it needs

Requires @azure/monitor-ingestion, @azure/monitor-opentelemetry, @azure/monitor-opentelemetry-exporter installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Azure Monitor OpenTelemetry SDK for TypeScript Auto-instrument Node.js applications with distributed tracing, metrics, and logs. Installation Environment Variables Quick Start (Auto-Instrumentation) IMPORTANT: Call useAzureMonitor() BEFORE importing other modules. ESM Support (Node.js 18.19+) package.json: Full Configuration Custom Traces Custom Metrics Manual Exporter Setup Trace Exporter Metric Exporter Log Exporter Custom Logs Ingestion Custom Span Processor Sampling Shutdown Key Types Best Practices 1. Call useAzureMonitor() first - Before importing other modules 2. Use ESM loader for ESM projects - --import @azure/monitor-opentelemetry/loader 3. Enable offline storage - For reliable telemetry in disconnected scenarios 4. Set sampling ratio - For high-traffic applications 5. Add custom dimensions - Use span processors for enrichment 6. Graceful shutdown - Call shutdownAzureMonitor() to flush telemetry When to Use This skill is applicable to execute the workflow or actions described in the overview. Limitations Use this skill only when the task clearly matches the scope described above. Do not treat the output as a substitute for environment-specific validation, testing, or expert review. Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/azure-monitor-opentelemetry-ts

View the source on GitHub

Browse the @skills marketplace