prometheus / prometheus/client_js
Support for native histograms
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3.5k
- Forks
- 430
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 22
Description
Native histograms (aka sparse histograms, aka high-res histograms) are on their way to being production ready. It would be wonderful if the Node prom-client supported them.
From the Prometheus docs:
A native histogram requires only one time series, which includes a dynamic number of buckets in addition to the sum and count of observations. Native histograms allow much higher resolution at a fraction of the cost.
They aren't quite a stable feature yet, but I figure it would be useful to me & others to have an issue to gather together any discussion on implementing them for this client.
Some relevant links:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no Node client files or tests; begin with the Prometheus native histogram documentation and the linked Go implementation in prometheus/histogram.go. Define the Node client entry point, compatibility scope, and tests needed before implementation; the issue currently provides no concrete completion criteria beyond supporting native histograms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100