prometheus / prometheus/common
expfmt: Support OpenMetrics 2.0
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 295
- Forks
- 367
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 18
Description
OpenMetrics 2.0 recently released an experimental release candidate: https://prometheus.io/docs/specs/om/open_metrics_spec_2_0/.
We should add support for it in the expfmt encoder so that it is supported in prometheus/client_golang.
@ywwg @bwplotka @krajorama
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 reading the linked OpenMetrics 2.0 specification and inspecting the expfmt encoder in prometheus/common. Trace how prometheus/client_golang uses that encoder and identify the existing format-support tests or entry points. Done means the encoder supports the specified OpenMetrics 2.0 behavior and remains usable by prometheus/client_golang.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100