I am trying to push metrics in promrthrus using pushgateway but not able to complete the task . This is the code
var client = require('prom-client'); var gateway = new client.Pushgateway('http://localhost:9091');
gateway.pushAdd({ jobName: 'test', group : "production" }, function(err, resp, body) {
});
via honey
No comments:
Post a Comment