{"id":13564802,"url":"https://github.com/tcnksm/go-httpstat","last_synced_at":"2025-05-15T12:06:09.868Z","repository":{"id":50308810,"uuid":"69151551","full_name":"tcnksm/go-httpstat","owner":"tcnksm","description":"Tracing golang HTTP request latency","archived":false,"fork":false,"pushed_at":"2022-08-31T23:36:43.000Z","size":27,"stargazers_count":428,"open_issues_count":10,"forks_count":74,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-05-13T23:51:18.203Z","etag":null,"topics":["golang","trace"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tcnksm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-25T08:09:28.000Z","updated_at":"2025-04-02T21:32:22.000Z","dependencies_parsed_at":"2022-09-05T16:40:52.379Z","dependency_job_id":null,"html_url":"https://github.com/tcnksm/go-httpstat","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcnksm%2Fgo-httpstat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcnksm%2Fgo-httpstat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcnksm%2Fgo-httpstat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcnksm%2Fgo-httpstat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcnksm","download_url":"https://codeload.github.com/tcnksm/go-httpstat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337613,"owners_count":22054253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","trace"],"created_at":"2024-08-01T13:01:36.220Z","updated_at":"2025-05-15T12:06:04.857Z","avatar_url":"https://github.com/tcnksm.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# go-httpstat [![Go Documentation](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)][godocs] [![Build Status](http://img.shields.io/travis/tcnksm/go-httpstat.svg?style=flat-square)][travis] [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)][license] \n\n[godocs]: http://godoc.org/github.com/tcnksm/go-httpstat\n[travis]: https://travis-ci.org/tcnksm/go-httpstat\n[license]: /LICENSE\n\n`go-httpstat` is a golang package to trace golang HTTP request latency (DNSLookup, TCP Connection and so on). Because it uses [`httptrace`](https://golang.org/pkg/net/http/httptrace/) internally, just creating `go-httpstat` powered `context` and giving it your `http.Request` kicks tracing (no big code modification is required). The original idea came from [`httpstat`](https://github.com/reorx/httpstat) command ( and Dave Cheney's [golang implementation](https://github.com/davecheney/httpstat)) 👏. This package now traces same latency infomation as them.\n\nSee usage and example on [GoDoc][godocs]. \n\n*NOTE*: Since [`httptrace`](https://golang.org/pkg/net/http/httptrace/) was introduced after go1.7, this package may not work with old HTTP client. Especially, if you don't use `net.DialContext` it can not trace DNS and connection. \n\n## Install \n\nUse `go get`,\n\n```bash\n$ go get github.com/tcnksm/go-httpstat\n```\n\n## Author\n\n[Taichi Nakashima](https://github.com/tcnksm)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcnksm%2Fgo-httpstat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcnksm%2Fgo-httpstat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcnksm%2Fgo-httpstat/lists"}