UNPKG

pm25

Version:

Production process manager for Node.JS applications with a built-in load balancer.

16 lines (11 loc) 208 B
var Probe = require('pmx').probe(); var counter = 0; var metric = Probe.metric({ name : 'Counter', value : function() { return counter; } }); setInterval(function() { counter++; }, 100);