Traces the full path of an HTTP request and renders a waterfall diagram in your terminal. Measures DNS resolution, TCP connect time, TLS handshake duration, and HTTP response time per hop. Follows redirects up to a configurable depth. Color-coded output makes it easy to spot where latency lives. Great for debugging slow APIs, CDN issues, and proxy chains.
NetworkingDebuggingHTTPCLI
Features
- DNS resolution timing with server IP display
- TCP connect and TLS handshake duration measurement
- Redirect following with per-hop waterfall
- Custom headers, methods, and request body support
- DNS caching: cached results marked on redirect
Flags
| Long | Short | Description |
|---|---|---|
| --version | -V | Show version and license |
| --method | -X | HTTP method (GET, HEAD, POST) |
| --header | -H | Custom header (repeatable) |
| --insecure | -k | Skip TLS certificate verification |
| --timeout | -t | Max seconds per hop (default 10) |
| --max-hops | -m | Max redirects to follow (default 5) |
| --json | -j | Output as JSON |
Usage
terminal
$ httptrace https://example.com/api
$
$ httptrace --method POST --header 'Authorization: Bearer *** https://api.example.com
Dependencies
stdlib only — net, crypto/tls, net/http, time
Install
$ curl -LO https://labs.stech-sol.com/downloads/httptrace/0.2.0/httptrace_linux_amd64
$ chmod +x httptrace_linux_amd64
$ sudo mv httptrace_linux_amd64 /usr/local/bin/httptrace
About
Downloads
Verify integrity
SHA256 checksums