Skip to content

feat: implement gauge and counter support for OpenMetrics 2.0#894

Open
dashpole wants to merge 2 commits intoprometheus:mainfrom
dashpole:om2_1
Open

feat: implement gauge and counter support for OpenMetrics 2.0#894
dashpole wants to merge 2 commits intoprometheus:mainfrom
dashpole:om2_1

Conversation

@dashpole
Copy link
Copy Markdown
Contributor

@dashpole dashpole commented Apr 7, 2026

Part 1 of #893

Histograms and summaries are left for follow-ups.

Open Questions:

  • How do we indicate that OM 2.0 support is experimental?

@ywwg @bwplotka @krajorama

Signed-off-by: David Ashpole <dashpole@google.com>
Copy link
Copy Markdown
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For common, given v0 I would just comment on the method. If we want to be fancy we can generate comment in the exposition format too (:

Looks good so far, good start (see comments) - only question is do we iterate on this on main or some feature branch - no strong opinion, assuming commentary is clear.

Thanks

Signed-off-by: David Ashpole <dashpole@google.com>
@dashpole dashpole marked this pull request as ready for review April 7, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants