@eyecone/blastmedia-metrics
v1.1.0
Published
---
Readme
Metrics
Module
This module ease the reporting of application metrics.
Common metrics are:
- CPU usage
- MEM usage
It currently uses influxdb and node-influx
Methods
.report(table, metrics, [tags = {}])
Tags will be merged with the static property Metrics.tags which returns hostname, pid, arch, platform.
Common metrics values are available in the static property Metrics.metrics which return process.cpuUsage(), process.memoryUsage()
