Prometheus client: Detailed Overview & Metrics

v15.1.3(5 months ago)

This package is actively maintained.Types definitions are bundled with the npm packageNumber of direct dependencies: 2Monthly npm downloads

prom-client is a Node.js client library for Prometheus, a popular monitoring and alerting toolkit. It allows you to instrument your Node.js applications and expose custom metrics in a format that Prometheus can scrape and store. With prom-client, you can track various aspects of your application's performance, such as request latency, error rates, and resource usage.

Compared to other monitoring solutions, prom-client offers a lightweight and efficient way to integrate Prometheus monitoring into your Node.js applications. It provides a simple API for defining and updating metrics, making it easy to monitor and analyze the health and performance of your services.

Alternatives: prometheus-api-metrics, prometheus-node-metrics, prometheus-gc-stats

Tags: node.jsprometheusmonitoringmetricsalerting