OM 2.0: Remove MetricPoint concept, and use Sample#2894
Merged
dashpole merged 8 commits intoprometheus:mainfrom Mar 17, 2026
Merged
OM 2.0: Remove MetricPoint concept, and use Sample#2894dashpole merged 8 commits intoprometheus:mainfrom
dashpole merged 8 commits intoprometheus:mainfrom
Conversation
65176e7 to
4c240ac
Compare
bwplotka
reviewed
Mar 13, 2026
c1aed15 to
aad8d1d
Compare
Contributor
Author
|
I addressed all the open comments! |
krajorama
reviewed
Mar 16, 2026
bwplotka
previously approved these changes
Mar 17, 2026
Member
bwplotka
left a comment
There was a problem hiding this comment.
LGTM modulo @krajorama comments
Signed-off-by: David Ashpole <dashpole@google.com>
Signed-off-by: David Ashpole <dashpole@google.com>
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com> Signed-off-by: David Ashpole <dashpole@google.com>
Signed-off-by: David Ashpole <dashpole@google.com>
Signed-off-by: David Ashpole <dashpole@google.com>
Signed-off-by: David Ashpole <dashpole@google.com>
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com> Signed-off-by: David Ashpole <dashpole@google.com>
857991e to
00b6c6d
Compare
bwplotka
previously approved these changes
Mar 17, 2026
Contributor
Author
|
@bwplotka I added a link to #stateset-1, but it seems like the markdown validation doesn't recognize it. This link seems to work: https://prometheus.io/docs/specs/om/open_metrics_spec_2_0/#stateset-1 |
Contributor
Author
|
I'm going to remove the link, and add it in a follow-up so we can merge this. |
Signed-off-by: David Ashpole <dashpole@google.com>
00b6c6d to
d2a9842
Compare
Contributor
Author
|
Removed the link |
Contributor
Author
|
Needs new approval |
krajorama
added a commit
that referenced
this pull request
Mar 18, 2026
Follow up to #2894 Let the metric be name and labels AND sample. Also fix a typo picked up by Claude. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
krajorama
added a commit
that referenced
this pull request
Mar 18, 2026
Follow up to #2894 Let the metric be name and labels AND sample. Also fix a typo picked up by Claude. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
krajorama
added a commit
that referenced
this pull request
Mar 20, 2026
* fix(om2.0): abnf consistent with model Follow up to #2894 Let the metric be name and labels AND sample. Also fix a typo picked up by Claude. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com> * refact(om2.0): reorder ABFN and enhance comments Improve ABNF readability. Move timestamp and start-timestamp next to sample. Move numbers to one group (integers moved up) and improve comments. Move classic histograms before native histograms. Improve comments on histograms in general. Fix doble negative_spans error. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com> --------- Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes prometheus/OpenMetrics#315
This aligns with the structure in slide 2 of prometheus/OpenMetrics#315 (comment)