hapijs / good

hapi process monitoring
Other
525 stars 161 forks source link

Request Logging #603

Closed andrewcashmore closed 5 years ago

andrewcashmore commented 5 years ago

Not an issue as such, but more an open discussion I wanted to start before trying to submit a PR that could be unwanted.

In a local fork of good I've allowed a custom key to be passed along in the request object. It is controlled in the same way as the header and payload keys and then a simple update to the RequestSent constructor.

We found it really useful to enable us to log some custom metrics / data with the standard request object, feels like it could be useful for others to?

andrewcashmore commented 5 years ago

Maybe a better option might even be to open up the includes config to be more open allowing each person to decide what custom keys they want included

hueniverse commented 5 years ago

Closing due to lack of activity.

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.