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 occur with simplistic custom wrappers. A lower-level wrapping API is also available when developers need custom instrumentation behavior. It is particularly useful for access logging, monitoring middleware, performance measurement, and HTTP observability.

Features

  • HTTP status code capture
  • Request duration measurement
  • Response byte-count tracking
  • Transparent http.Handler instrumentation
  • ResponseWriter interface preservation
  • Low-level custom wrapping API

Project Samples

Project Activity

See All Activity >

Categories

HTTP Clients

License

MIT License

Follow HTTPSnoop

HTTPSnoop Web Site

Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of HTTPSnoop!

Additional Project Details

Programming Language

Go

Related Categories

Go HTTP Clients

Registered

2026-09-15