expfmt: Handle duplicate buckets and quantiles during decoding

Open
#51 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

@wilmore11 is already working on this.

Since Oct 16, 2026.

  • #1019 by @wilmore11 — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
go
Domain
backend

Research direction

Start by reading the expfmt decoding paths and the detailed example in prometheus/pushgateway#51. Trace how both text and protobuf formats are decoded, then define coverage for duplicate buckets and quantiles; done means duplicates are detected consistently during decoding.

Written by the indexing model from the issue text.

Description

enhancement

See prometheus/pushgateway#51 for a detailed example.

While originally, this was thought to be a responsibility of the text parser, it could also happen in the same way in the protobuf format. It has to be detected during decoding in any case.

Dominant language
Go
Stars
297
Forks
380
Avg merge
3d 18h
Merged PRs (30d)
12

Getting set up

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.

More from prometheus/common

All issues in prometheus/common

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.