[99s-extend] Metrics per request and handler

Łukasz Biedrycki lukasz.biedrycki at gmail.com
Fri Feb 7 17:56:26 CET 2014


Hi,
in my application I would like to add some metrics per handler and per
response http status code.

One way is to add on response callback function, but there I do not have an
information about handler and handler opts.

Second way is to add a middleware, but then I do not have an information
about response status code.

Frankly, I like second way more.
How do like an idea to add response status code to request record similar
to: resp_headers or resp_body ?

Cheers,
Łukasz Biedrycki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ninenines.eu/archives/extend/attachments/20140207/904cc7bf/attachment.html>


More information about the Extend mailing list