HTTPSnoop
Package httpsnoop provides an easy way to capture http related metrics
HTTPSnoop is a Go package for capturing HTTP metrics from applications built with the standard net/http stack. It wraps existing http.Handler implementations so developers can measure requests without rewriting application logic. Recorded metrics include response status codes, response duration, and the number of bytes written. The package carefully preserves optional http.ResponseWriter interfaces that middleware and handlers may depend on. This avoids subtle compatibility problems that can...