memory-prometheus-metrics
Uses memwatch-next
to monitor the instrumented node.js process and exposes the metrics using https://github.com/ekristen/prometheus-client-js
Usage
Option 1
Provide an existing Prometheus client.
var Prometheus = var client = var MemoryMetrics = client
Option 2
Have memory-prometheus-metrics
instantiate its own Prometheus client.
var MemoryMetrics = var metrics = metricsclientcreateServer