prometheus / prometheus/common
decode: Implement full OpenMetrics parsing support
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 296
- Forks
- 366
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 18
Description
The common parser does not correctly decode open metrics text format. Prometheus' parser is highly optimized and specialized for its scraping use-case, and there is a need for a better externally-usable parsing/formatting library.
TODO:
- Support "unknown" keyword instead of prom's "untyped"
- Native histograms
- Support all quoting characters
- .... other things?
See also:
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 by locating the common parser and reviewing its current OpenMetrics text-format decoding and formatting behavior. Use the linked Prometheus issues as context, then define the required scope for unknown types, native histograms, quoting characters, and other missing cases; done means the parser supports the agreed complete set.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100