SKILL

azure-monitor-opentelemetry-ts

Instrument applications with Azure Monitor and OpenTelemetry for JavaScript (@azure/monitor-opentelemetry). Use when adding distributed tracing, metrics, and logs to Node.js applications with Application Insights.

Target: Cloud, operations & security. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Azure Monitor OpenTelemetry SDK for TypeScript
  • Installation
  • Environment Variables
  • Quick Start (Auto-Instrumentation)
  • ESM Support (Node.js 18.19+)
  • Full Configuration
  • Custom Traces
  • Custom Metrics

Auto-instrument Node.js applications with distributed tracing, metrics, and logs. IMPORTANT: Call useAzureMonitor() BEFORE importing other modules. package.json: 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

Source repository
microsoft/skills
Source file
.github/plugins/azure-sdk-typescript/skills/azure-monitor-opentelemetry-ts/SKILL.md
Fixed revision
9287b443662d2433c85621c7325ee72a0ce499b5
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: Microsoft Skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T19:02:06.583Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.