@contrast/route-metrics
Version:
`route-metrics` allows server performance, exclusive of network time, to be compared on a route-by-route basis. It was created to compare server performance with and without `@contrast/agent` being loaded and active.
12 lines (8 loc) • 320 B
JavaScript
;
const patch = require('./http');
// it's not clear that just patching .emit('request', ...) and .end() addresses
// all the ways that http2 can be used. but i don't know enough about it right
// now so am deferring to a later date.
module.exports = function(m, options) {
return patch(m, options);
};