Add TODO
This commit is contained in:
parent
7b53b7c30a
commit
6945cfc93c
@ -10,6 +10,7 @@ module.exports = function profiler (options) {
|
|||||||
const { logger } = res.locals;
|
const { logger } = res.locals;
|
||||||
const { id } = logger.bindings();
|
const { id } = logger.bindings();
|
||||||
|
|
||||||
|
// TODO: stop using profiler and log stats instead of adding them to the profiler
|
||||||
req.profiler = new Profiler({
|
req.profiler = new Profiler({
|
||||||
statsd_client: statsClient,
|
statsd_client: statsClient,
|
||||||
profile: enabled
|
profile: enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user