prometheus-gc-stats
Report Garbage Collection stats using Prometheus
Usage
This module has a peer dependency on prom-client
. Currently, version 3-5 are supported.
This module follows the same API as the core default metrics. To start collection GC stats, invoke the exported function to create the
metrics, then invoke the returned function to start the collecting.
gc-stats
The module doing the GC stats collecing is gc-stats
. This module requires native dependencies.
If the stats don't show up, make sure to check npm
's install log for failures.
Credits
Thanks to @tcolgate for the original implementation.