{"id":18266256,"url":"https://github.com/hdrhistogram/hdrhistogram-go","last_synced_at":"2026-04-07T04:31:37.559Z","repository":{"id":18598019,"uuid":"21802784","full_name":"HdrHistogram/hdrhistogram-go","owner":"HdrHistogram","description":"A pure Go implementation of Gil Tene's HDR Histogram.","archived":false,"fork":false,"pushed_at":"2021-08-24T21:10:27.000Z","size":342,"stargazers_count":447,"open_issues_count":9,"forks_count":64,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-31T16:44:23.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/HdrHistogram.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":"2014-07-14T00:27:16.000Z","updated_at":"2025-03-08T05:42:21.000Z","dependencies_parsed_at":"2022-07-26T23:16:58.455Z","dependency_job_id":null,"html_url":"https://github.com/HdrHistogram/hdrhistogram-go","commit_stats":null,"previous_names":["codahale/hdrhistogram","codahale/hdrhistogram-go"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HdrHistogram%2Fhdrhistogram-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HdrHistogram%2Fhdrhistogram-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HdrHistogram%2Fhdrhistogram-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HdrHistogram%2Fhdrhistogram-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HdrHistogram","download_url":"https://codeload.github.com/HdrHistogram/hdrhistogram-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247500464,"owners_count":20948879,"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":[],"created_at":"2024-11-05T11:22:38.730Z","updated_at":"2025-12-18T13:26:13.779Z","avatar_url":"https://github.com/HdrHistogram.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"hdrhistogram-go\n===============\n\n\u003ca href=\"https://pkg.go.dev/github.com/HdrHistogram/hdrhistogram-go\"\u003e\u003cimg src=\"https://pkg.go.dev/badge/github.com/HdrHistogram/hdrhistogram-go\" alt=\"PkgGoDev\"\u003e\u003c/a\u003e\n[![Gitter](https://badges.gitter.im/Join_Chat.svg)](https://gitter.im/HdrHistogram/HdrHistogram)\n![Test](https://github.com/HdrHistogram/hdrhistogram-go/workflows/Test/badge.svg?branch=master)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/HdrHistogram/hdrhistogram-go/blob/master/LICENSE)\n[![Codecov](https://codecov.io/gh/HdrHistogram/hdrhistogram-go/branch/master/graph/badge.svg)](https://codecov.io/gh/HdrHistogram/hdrhistogram-go)\n\n\nA pure Go implementation of the [HDR Histogram](https://github.com/HdrHistogram/HdrHistogram).\n\n\u003e A Histogram that supports recording and analyzing sampled data value counts\n\u003e across a configurable integer value range with configurable value precision\n\u003e within the range. Value precision is expressed as the number of significant\n\u003e digits in the value recording, and provides control over value quantization\n\u003e behavior across the value range and the subsequent value resolution at any\n\u003e given level.\n\nFor documentation, check [godoc](https://pkg.go.dev/github.com/HdrHistogram/hdrhistogram-go).\n\n\n## Getting Started\n\n### Installing\nUse `go get` to retrieve the hdrhistogram-go implementation and to add it to your `GOPATH` workspace, or project's Go module dependencies.\n\n```go\ngo get github.com/HdrHistogram/hdrhistogram-go\n```\n\nTo update the implementation use `go get -u` to retrieve the latest version of the hdrhistogram.\n\n```go\ngo get github.com/HdrHistogram/hdrhistogram-go\n```\n\n\n### Go Modules\n\nIf you are using Go modules, your `go get` will default to the latest tagged\nrelease version of the histogram. To get a specific release version, use\n`@\u003ctag\u003e` in your `go get` command.\n\n```go\ngo get github.com/HdrHistogram/hdrhistogram-go@v0.9.0\n```\n\nTo get the latest HdrHistogram/hdrhistogram-go master repository change use `@latest`.\n\n```go\ngo get github.com/HdrHistogram/hdrhistogram-go@latest\n```\n\n### Repo transfer and impact on go dependencies\n-------------------------------------------\nThis repository has been transferred under the github HdrHstogram umbrella with the help from the orginal\nauthor in Sept 2020. The main reasons are to group all implementations under the same roof and to provide more active contribution\nfrom the community as the orginal repository was archived several years ago.\n\nUnfortunately such URL change will break go applications that depend on this library\ndirectly or indirectly, as discussed [here](https://github.com/HdrHistogram/hdrhistogram-go/issues/30#issuecomment-696365251).\n\nThe dependency URL should be modified to point to the new repository URL.\nThe tag \"v0.9.0\" was applied at the point of transfer and will reflect the exact code that was frozen in the\noriginal repository.\n\nIf you are using Go modules, you can update to the exact point of transfter using the `@v0.9.0` tag in your `go get` command.\n\n```\ngo mod edit -replace github.com/codahale/hdrhistogram=github.com/HdrHistogram/hdrhistogram-go@v0.9.0\n```\n\n## Credits\n-------\n\nMany thanks for Coda Hale for contributing the initial implementation and transfering the repository here.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdrhistogram%2Fhdrhistogram-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhdrhistogram%2Fhdrhistogram-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdrhistogram%2Fhdrhistogram-go/lists"}