UNPKG

@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.

15 lines (11 loc) 246 B
'use strict'; const config = require('./common-config'); module.exports = { get() { return config.get({defs: 'agent'}); } }; if (module.main === module) { // eslint-disable-next-line no-console console.log(module.exports.get()); }