prometheus / prometheus/common
expfmt: Decode support OpenMetrics Text exemplars.
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 295
- Forks
- 367
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 18
Description
Found in https://github.com/prometheus/prometheus/pull/15083 that expfmt.TypeOpenMetrics decode fails to parse on OM Text lines with # (exemplar).
Contributor guide
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
Start at the expfmt.TypeOpenMetrics decode path and reproduce the reported failure with an OpenMetrics Text line containing an exemplar marked by #. Trace how that line is parsed; done means TypeOpenMetrics decoding accepts valid exemplar lines without failing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100