Skip to content
C

Client JS

Prometheus client for node.js

by prometheusFree

#1091in Developer Tools
0In stores

Description

client_js is the Prometheus client library for Node.js that supports histograms, summaries, gauges and counters, so a Node.js service can re…

Highlights

  • Counters, gauges, histograms and summaries
  • Default Node.js metrics such as event loop lag and GC
  • Custom registries, prefixes and labels
  • No web framework required
  • Open source on GitHub

Ratings & Reviews

No ratings yet

Be the first to rate Client JS.

People also visit

P

Promster

A Prometheus exporter for Hapi, express, Apollo

Developer Tools
Launch
N

Nextcloud Exporter

Prometheus exporter for Nextcloud servers

Developer Tools
Launch
P

Prometheus.ex

Prometheus.io Elixir client

Developer Tools
Launch
M

Metrics

Lightweight alternative to github.com/prometheus/client_golang

Developer Tools
Launch
I

Influxdb Exporter

A server that accepts InfluxDB metrics via the HTTP API and exports them

Developer Tools
Launch
G

Github Exporter

Prometheus exporter for github metrics

Developer Tools
Launch

Client JS FAQ

What is client_js?

The official Prometheus client library for Node.js, for recording metrics in a Node.js app and exposing them for scraping.

How do I expose the metrics?

Respond to Prometheus scrape requests with the result of await registry.metrics(). The library does not include a web server.

Which default metrics are included?

Recommended Prometheus metrics, plus Node.js ones such as event loop lag, active handles, garbage collection and the Node.js version.

Are all default metrics available everywhere?

No. The README says some file descriptor and memory metrics are only available on Linux.

Was it renamed?

Yes. The package was previously published as prom-client. The changelog lists the breaking changes for upgrading.

Is it free?

Yes. It is open source and the code is on GitHub.

What are the best Client JS alternatives?

Popular alternatives to Client JS include Promster, Nextcloud Exporter and Prometheus.ex. See all Client JS alternatives

Developer Stuff

Badges