bodewell-metric
v0.0.1
Published
Bodewell system monitor resource metric
Downloads
2
Readme
Bodewell Resource Metric
const Metric = require("bodewell-metric");
var metric = new Metric();
assert(metric.valueOf() === undefined);
metric.record(42);
assert(metric.valueOf() === 42);
metric.record(13);
assert(metric.valueOf() === 42);
metric.recorded().forEach(when => {
console.log(sample.when, sample.value);
});