OpenTelemetry Node.js Process Metrics
JSON →opentelemetry-node-metrics is a Node.js library that adapts the widely used `prom-client` metric set to the OpenTelemetry ecosystem, specifically for capturing process-level metrics. It currently stands at version 3.0.0, which dropped support for `@opentelemetry/api-metrics` older than v0.33, continuing a pattern of major version releases aligning with significant OpenTelemetry API updates. This library provides a direct translation of common system and runtime metrics (like CPU usage, memory, event loop lag, garbage collection statistics, and network/file descriptor usage) into OpenTelemetry-compatible instruments. Its primary differentiator is leveraging the `prom-client`'s established metric definitions, which can ease migration for projects already familiar with Prometheus-style monitoring, while integrating seamlessly into an OpenTelemetry-based observability pipeline. Notably, it does not offer Node.js cluster support, a limitation inherited from the underlying OpenTelemetry metrics API. The release cadence is directly tied to the evolution of the OpenTelemetry JavaScript SDK, leading to breaking changes primarily driven by API shifts.
Traffic · last 30 days ↑67% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇮 Finland