prom-client icon indicating copy to clipboard operation
prom-client copied to clipboard

Prometheus client for node.js

Results 135 prom-client issues
Sort by recently updated
recently updated
newest added

Hi there, I thought it would be interesting to discuss this matter here. I created the following exporter with this Prometheus client: https://github.com/LePetitBloc/bitcoind-exporter But I stumble upon an issue, related...

We're building a library that will be used by teams inside our organization, and inside this library we want to expose metrics. However, from what I can deduce (as a...

question

Hello, thanks for prom-client, it's a huge time saver for us! I have run into an issue with the cluster aggregator support. It seems that unless *all* the workers of...

Static method `merge` of class `Registry` ignores default labels set by method `setDefaultLabels` of class `Registry`. Sample: ```js import { Counter, Gauge, Registry } from 'prom-client'; const myRegistry1 = new...

enhancement
help wanted

There is a good possibility to improve the performance if you're using the labels function - instead of calculating the labels hash everytime we do a metric operation it could...

enhancement

Hi, We have an internal npm library that uses prom-client and captures metrics. We use this npm library across many services. We register the metrics inside the npm library using...

When using rollup to build an all-in-one esm module, rollup fails to properly handle require in try{}catch{} code. It causes perf_hooks to not be defined ( that would happens if...

I am trying to integrate prom client into a cluster-enabled project. Unfortunately, I don't get any response from the Aggregator endpoint. I do get responses from the "/metrics" from the...

This would be useful in cases where you're doing batch processing. ```ts const start = process.hrtime.bigint(); await doBatchProcessing(batch) const duration = Number(process.hrtime.bigint() - start) / 1e9 // record the histogram...

enhancement