pm2/examples/keymetrics-integration/process-transpose.js
2017-04-04 23:56:58 +02:00

22 lines
307 B
JavaScript

var Probe = require('pmx').probe();
var counter = 0;
var metric = Probe.transpose({
name : 'data-flow',
data : function() {
return {
a : {
b : {
data : 'textflow',
array : [ 'yes', 'it', 'is' ]
}
}
}
}
});
setInterval(function() {
}, 100);