.net - http.sys & response time logging -
we've .net based self hosting web api service. we're self hosted don't have requests logging/response time logging sinse iis feature. so, question how requests logging/response time when using pure self hosting scenario (http.sys). cannot implement logging on .net level because response time not include gc time. have real response time number has logged out of .net process, i'm wondering if etw can used.
thanks regards!
answering myself. seems way possible log http.sys activities using event tracing windows (etw), here 3 related articles: https://blogs.msdn.microsoft.com/wndp/2007/01/18/event-tracing-in-http-sys-part-1-capturing-a-trace/
https://blogs.msdn.microsoft.com/wndp/2007/02/01/event-tracing-in-http-sys-part-3-typical-request/
https://msdn.microsoft.com/en-us/library/windows/desktop/cc307237(v=vs.85).aspx
Comments
Post a Comment