siimon / prom-client

Prometheus client for node.js
Apache License 2.0
3.12k stars 376 forks source link

v8 heap_size_limit #632

Open sakari opened 5 months ago

sakari commented 5 months ago

Would it be possible to add heap_size_limit gauge to the default nodejs metrics that get collected?

It would be useful for displaying an upper limit for heap usage of node processes

riosje commented 3 months ago

take a look to N|solid it is a nodejs alternative 100% compatible which provides telemetry out of the box, no instrumentation needed. Even the metrics you're looking for and much more.

I wrote a blog post some time ago about how to integrate it with prometheus+grafana, but currently you can connect anything that supports OTLP