OM2: Discontinue OM Proto; specify PrometheusProto#2836
Open
OM2: Discontinue OM Proto; specify PrometheusProto#2836
Conversation
63d83ad to
94f1cc9
Compare
Signed-off-by: bwplotka <bwplotka@gmail.com>
94f1cc9 to
40185d0
Compare
krajorama
reviewed
Feb 18, 2026
Member
krajorama
left a comment
There was a problem hiding this comment.
LGTM, let's see dev summit response
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com> Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
bwplotka
commented
Feb 18, 2026
Comment on lines
+404
to
+406
| > IMPORTANT: Previous versions of [OpenMetrics](https://prometheus.io/docs/specs/om/open_metrics_spec/#protobuf-format) used | ||
| > to specify a separate, similar, [protobuf format](https://github.com/prometheus/OpenMetrics/blob/3bb328ab04d26b25ac548d851619f90d15090e5d/proto/openmetrics_data_model.proto). Given similarities and wide adoption of [`PrometheusProto`](https://prometheus.io/docs/instrumenting/exposition_formats/#protobuf-format), OpenMetrics Proto is now deprecated and OpenMetrics spec is focusing | ||
| > on the human-readable text representation. |
Member
Author
There was a problem hiding this comment.
Suggested change
| > IMPORTANT: Previous versions of [OpenMetrics](https://prometheus.io/docs/specs/om/open_metrics_spec/#protobuf-format) used | |
| > to specify a separate, similar, [protobuf format](https://github.com/prometheus/OpenMetrics/blob/3bb328ab04d26b25ac548d851619f90d15090e5d/proto/openmetrics_data_model.proto). Given similarities and wide adoption of [`PrometheusProto`](https://prometheus.io/docs/instrumenting/exposition_formats/#protobuf-format), OpenMetrics Proto is now deprecated and OpenMetrics spec is focusing | |
| > on the human-readable text representation. | |
| > IMPORTANT: Previous versions of [OpenMetrics](https://prometheus.io/docs/specs/om/open_metrics_spec/#protobuf-format) used | |
| > to specify a separate, similar, [protobuf format](https://github.com/prometheus/OpenMetrics/blob/3bb328ab04d26b25ac548d851619f90d15090e5d/proto/openmetrics_data_model.proto). OpenMetrics 2.0 does not include the protobuf representation. For available formats see [this](https://prometheus.io/docs/instrumenting/exposition_formats). |
|
|
||
| ### Protobuf Representation | ||
|
|
||
| The [Prometheus protobuf wire format](https://prometheus.io/docs/instrumenting/exposition_formats/#protobuf-format) MAY be supported |
Member
Author
There was a problem hiding this comment.
WG discussion:
- Mention only that it does not include OM proto anymore.
- Deprecation might mean we should update 1.0. We just don't continue OM proto in 1.0. Actually deprecation should be in 1.0 (outside of the scope).
- David: We don't need to say other protocols.
- Idea: Mention negotiation and alternatives being possible and the intention of exposers to support both OM text and protobuf. Although it does not look this belongs. Maybe without normative language
Member
Author
There was a problem hiding this comment.
Consensus: Just context and link to exposition format, mention the desired (if acceptable) dual expose format imple etc
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#296
This proposes:
Proposed this to be a discussion on DevSummit https://docs.google.com/document/d/1uurQCi5iVufhYHGlBZ8mJMK_freDFKPG0iYBQqJ9fvA/edit?tab=t.0#bookmark=id.8x3p3zrx8mfu