prometheus / prometheus/common

expfmt: Decode support OpenMetrics Text exemplars.

Open
#703 0 comments 2 reactions 0 assignees View on GitHub

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

Open the contributing guide

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.