How to use the artedi.FMT_PROM function in artedi

To help you get started, we’ve selected a few artedi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github joyent / moray / lib / server.js View on Github external
req.on('end', function () {
                collector.collect(mod_artedi.FMT_PROM, function (err, metrics) {
                    if (err) {
                        next(new VError(err));
                        return;
                    }
                    res.setHeader('Content-Type', 'text/plain; version=0.0.4');
                    res.send(metrics);
                });
                next();
            });
            req.resume();

artedi

a metric client library

MPL-2.0
Latest version published 3 years ago

Package Health Score

46 / 100
Full package analysis

Popular artedi functions

Similar packages