Skip to content

OM2: Discontinue OM Proto; specify PrometheusProto#2836

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

OM2: Discontinue OM Proto; specify PrometheusProto#2836
bwplotka wants to merge 3 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.

Comment on lines +199 to +201
Ingestors SHOULD prioritize scraping Prometheus Proto for the future feature compatibility. This is not true for
Prometheus 3.0, which for backward compatibility prefers OpenMetrics 1.0 unless
* Manually changed in `scrape_protocols` setting
Copy link
Member

Choose a reason for hiding this comment

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

What does "Ingestors" mean in this context ? If it's a program, then it's weird because then we say that Prometheus 3.0 doesn't do this. If it's a person, then why should they care? I'd say instead

Suggested change
Ingestors SHOULD prioritize scraping Prometheus Proto for the future feature compatibility. This is not true for
Prometheus 3.0, which for backward compatibility prefers OpenMetrics 1.0 unless
* Manually changed in `scrape_protocols` setting
Prometheus 3.0 will prioritize Prometheus Proto automatically when certain features are enabled, because some features are only supported with Prometheus Proto.

Copy link
Member

Choose a reason for hiding this comment

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

Maybe also refer to "When to use Proto over Text?" section

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

3 participants