{"id":52923,"library":"tcnksm-go-httpstat","title":"go-httpstat","description":"Traces HTTP latency information (DNS lookup, TCP connection, etc.) on any Go HTTP request.","status":"active","version":"0.2.0","language":"go","source_language":null,"source_url":"https://github.com/tcnksm/go-httpstat","tags":["http","latency","tracing","performance"],"install":[{"cmd":"go get github.com/tcnksm/go-httpstat","lang":"bash","label":"Install github.com/tcnksm/go-httpstat"}],"dependencies":[],"imports":[{"symbol":"httpstat","correct":"github.com/tcnksm/go-httpstat"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"github.com/tcnksm/go-httpstat\"\n)\n\nfunc main() {\n\tvar result httpstat.Result\n\tctx := httpstat.WithHTTPStat(nil, &result)\n\treq, _ := http.NewRequestWithContext(ctx, \"GET\", \"https://example.com\", nil)\n\t_, _ = http.DefaultClient.Do(req)\n\tfmt.Printf(\"TCP connection: %v\\n\", result.TCPConnection)\n}","lang":"go","description":"Trace HTTP request latency with detailed timing breakdown."},"warnings":[],"env_vars":null,"search_vec":"'connect':11 'dns':8 'etc':12 'go':2,15 'go-httpstat':1 'http':5,16,18 'httpstat':3 'inform':7 'latenc':6,19 'lookup':9 'perform':21 'request':17 'tcp':10 'trace':4,20","created_at":"2026-06-15T07:18:02.154230+00:00","updated_at":"2026-06-15T07:18:02.154230+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/tcnksm/go-httpstat","github":"https://github.com/tcnksm/go-httpstat","docs":"https://pkg.go.dev/github.com/tcnksm/go-httpstat#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}