prometheus / prometheus/client_js

Support for native histograms

Open
#576 2 comments 46 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.