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

I am using prometheus + grafana, and wrote a simple query like `sum(increase(some_count[$__range]))` , although this takes the difference between the first and last values, seeing prometheus values gets restart...

Hello everyone :) And first, thank you for this really good lib! I have a question about an upgrade we just made... We just moved from v11 to v14 to...

I work on a private monolith repository that is having issues with integration tests crashing due to memory leaks. Managed to narrow down the memory leak to `collectDefaultMetrics()` in `prom-client`....

Hi, When I'm setting labels as arguments and the first argument is an array: ``` someCounter.labels(arr, string1, string2) ``` it is considered as an object and throws `Added label "0"...

bug
good first issue

Add support for BigInt so we can use high resolution timers and values.

enhancement

I haven't seen any way to do this, but is it possible to use this package to parse prometheus data into JSON data? If not, is such an option able...

This appears to be a leak: https://github.com/siimon/prom-client/blob/master/lib/metrics/eventLoopLag.js#L47-L50 You're not exposing a way to call `histogram.disable()` and so there is no way to turn it off and it will permanently hang...

Fixes https://github.com/siimon/prom-client/issues/494 Adds an optional "stop" function which when called will ultimately disable the histogram which will allow the node process to exit. I also fixed a bug in the...

I've found that validation.js's method `validateLabelName` restricts usage of any unicode characters. Despite this, prometheus allows any unicode characters. [Quote](https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels): > Label values may contain any Unicode characters. > A...

Hi all, Let's say I have a custom metric, defined as so (this is in ts): ``` const errorMetrics = new prometheus.Counter({ name: 'mm_errors_total', help: 'Total number of errors dealing...

enhancement