{"id":17887774,"url":"https://github.com/jmacd/otlp-expo-histo","last_synced_at":"2025-10-28T09:45:17.291Z","repository":{"id":86153510,"uuid":"411819470","full_name":"jmacd/otlp-expo-histo","owner":"jmacd","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-29T20:38:16.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T02:41:34.077Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmacd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-29T20:24:50.000Z","updated_at":"2021-09-29T20:38:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad1de4a8-c8ca-46f3-b89a-cb0fb5f910ef","html_url":"https://github.com/jmacd/otlp-expo-histo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jmacd/otlp-expo-histo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmacd%2Fotlp-expo-histo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmacd%2Fotlp-expo-histo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmacd%2Fotlp-expo-histo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmacd%2Fotlp-expo-histo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmacd","download_url":"https://codeload.github.com/jmacd/otlp-expo-histo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmacd%2Fotlp-expo-histo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281418068,"owners_count":26497723,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-28T13:35:23.364Z","updated_at":"2025-10-28T09:45:17.245Z","avatar_url":"https://github.com/jmacd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OTEP 149 Base-2 Exponential Histogram prototypes\n\n## Logarithm histogram mapper\n\nThe file `logarithm.go` demonstrates an implementation of the base-2\nexponential histogram based on the built-in logarithm function.\n\n## LookupTable histogram mapper\n\nThe file `lookuptable.go` demonstrates an implementation of the OTEP\nbase-2 exponential histogram based on a precomputed table of\nconstants.\n\n### Generate a constants table\n\nThe constants table for the LookupTable histogram mapper is not\nchecked-in. The constants table can be used by any scale of histogram\nless than or equal to the maximum scale computed.  To generate a\nconstants table, run:\n\n```\ngo run ./generate MAXSCALE\n```\n\nFor some value of `MAXSCALE`.  Note that the generated table will\ncontain 2**MAXSCALE entries, where `**` represents exponentiation\n(i.e., two to the power of MAXSCALE).  Practical limits start to apply\naround `MAXSCALE=16`, where this program takes weeks of CPU time to run.\n\n## Acknowledgements\n\n[Yuke Zhuge](https://github.com/yzhuge) and [Otmar Ertl](https://github.com/oertl) \nare the primary authors of these prototypes.  See\n[NrSketch](https://github.com/newrelic-experimental/newrelic-sketch-java/blob/1ce245713603d61ba3a4510f6df930a5479cd3f6/src/main/java/com/newrelic/nrsketch/indexer/LogIndexer.java)\nand [DynaHist](https://github.com/dynatrace-oss/dynahist/blob/9a6003fd0f661a9ef9dfcced0b428a01e303805e/src/main/java/com/dynatrace/dynahist/layout/OpenTelemetryExponentialBucketsLayout.java) repositories\nfor more detail.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmacd%2Fotlp-expo-histo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmacd%2Fotlp-expo-histo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmacd%2Fotlp-expo-histo/lists"}