Skip to content

OM2: Discontinue OM Proto; specify PrometheusProto#2836

Open
bwplotka wants to merge 6 commits intomainfrom
bwplotka/om-proto
Open

OM2: Discontinue OM Proto; specify PrometheusProto#2836
bwplotka wants to merge 6 commits intomainfrom
bwplotka/om-proto

Conversation

@bwplotka
Copy link
Member

@bwplotka bwplotka commented Feb 10, 2026

Fixes prometheus/OpenMetrics#296

This proposes:

  • Discontinuation of OpenMetrics proto in OM2
  • Official maintenance (as it's true now) of previously deprecated Prometheus Proto

Proposed this to be a discussion on DevSummit https://docs.google.com/document/d/1uurQCi5iVufhYHGlBZ8mJMK_freDFKPG0iYBQqJ9fvA/edit?tab=t.0#bookmark=id.8x3p3zrx8mfu

@bwplotka bwplotka force-pushed the bwplotka/om-proto branch 4 times, most recently from 94f1cc9 to 40185d0 Compare February 10, 2026 10:36
@jan--f jan--f added the kind/enhancement Improvements to existing documentation label Feb 10, 2026
Copy link
Member

@krajorama krajorama left a comment

Choose a reason for hiding this comment

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

LGTM, let's see dev summit response

@bwplotka bwplotka changed the title OM2: Deprecate OM Proto; remove deprecation mention of PrometheusProto OM2: Discontinue OM Proto; specify PrometheusProto Feb 19, 2026
bwplotka and others added 3 commits February 24, 2026 13:16
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: bwplotka <bwplotka@gmail.com>

### Basic info

| Aspect | Description |
Copy link
Member Author

Choose a reason for hiding this comment

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

Signed-off-by: bwplotka <bwplotka@gmail.com>
@bwplotka
Copy link
Member Author

This direction was approved on dev-summit

@bwplotka bwplotka requested a review from krajorama February 27, 2026 07:09
@vesari
Copy link

vesari commented Feb 27, 2026

LGTM for the protobuf part you asked me to have a look at.

### Versioning

Earlier versions of Prometheus supported an exposition format based on [Protocol Buffers](https://developers.google.com/protocol-buffers/) (aka Protobuf) in addition to the current text-based format. With Prometheus 2.0, the Protobuf format was marked as deprecated and Prometheus stopped ingesting samples from said exposition format.
At the moment Prometheus protobuf is stable, but explicitly unversioned to lean towards the backward and forward compatibility factor.
Copy link
Contributor

Choose a reason for hiding this comment

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

What does "lean towards the backward and forward compatibility factor" mean?

Copy link
Member Author

Choose a reason for hiding this comment

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

it means "lean on protobuf backward and forward compatibility logic". I simplified to

At the moment Prometheus protobuf is stable, but explicitly unversioned. Instead, it follows Prometheus versioning as a reference.

WDYT?

Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
@bwplotka bwplotka force-pushed the bwplotka/om-proto branch from 21d7a81 to 8403858 Compare March 4, 2026 08:44
@bwplotka bwplotka requested review from ArthurSens, dashpole and ywwg March 4, 2026 08:45
@bwplotka
Copy link
Member Author

bwplotka commented Mar 4, 2026

Thanks for the detailed review. All should be addressed!

I improved and added missing table for OpenMetrics for consistency. Added Supported advanced features row too.

@bwplotka bwplotka force-pushed the bwplotka/om-proto branch 2 times, most recently from 943e1b6 to 89f2d81 Compare March 4, 2026 09:12
@bwplotka bwplotka force-pushed the bwplotka/om-proto branch from 89f2d81 to 3c45e63 Compare March 4, 2026 09:17
Signed-off-by: bwplotka <bwplotka@gmail.com>
@bwplotka bwplotka force-pushed the bwplotka/om-proto branch from 3c45e63 to 1aefc37 Compare March 4, 2026 11:12
Copy link
Member

@krajorama krajorama left a comment

Choose a reason for hiding this comment

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

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement Improvements to existing documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OM 2.0: OM protobuf future

7 participants