Azure Monitor OpenTelemetry for Node.js

0•

Instruments Node.js applications with distributed tracing, metrics, and logging using Azure Monitor and OpenTelemetry standards.

This skill provides a comprehensive framework for implementing observability in TypeScript and Node.js applications via the Azure Monitor OpenTelemetry SDK. It guides developers through the critical 'call-first' initialization pattern, auto-instrumentation of common libraries like Express and Redis, and the configuration of environment variables for Application Insights. By offering patterns for custom span processing, manual exporter setups, and ESM-compatible loaders, this skill ensures that applications hosted on Azure or elsewhere maintain high visibility into performance, errors, and system health.

Características Principales

01Granular sampling and offline storage configuration for reliability
02Native ESM support using Node.js loaders for modern environments
030 GitHub stars
04Automatic instrumentation of HTTP, database, and cache libraries
05Support for distributed tracing, custom metrics, and log ingestion
06Manual exporter setup for advanced OpenTelemetry architectures

Casos de Uso

01Configuring reliable log ingestion for auditing and diagnostic purposes
02Implementing custom business metrics and performance counters in microservices
03Setting up end-to-end observability for an Azure-hosted Express.js API