Skip to content

feat(om2): expand Extensions and Improvements section#2934

Merged
bwplotka merged 1 commit into
mainfrom
krajo/om2-extensions-improvements
Mar 30, 2026
Merged

feat(om2): expand Extensions and Improvements section#2934
bwplotka merged 1 commit into
mainfrom
krajo/om2-extensions-improvements

Conversation

@krajorama

Copy link
Copy Markdown
Member

Summary

  • Adds a sentence explaining that the Metric name is now required to strictly match its MetricFamily name (no more implicit suffix stripping from 1.0)
  • Adds a concise bullet list of notable changes from OpenMetrics 1.0 to 2.0 to help readers quickly understand what has changed

Test plan

  • Verify the change renders correctly in the docs site

Signed-off-by: György Krajcsovits gyorgy.krajcsovits@grafana.com

🤖 Coded with Claude Sonnet 4.6. Generated with Claude Code

- Add sentence about Metric name now required to match MetricFamily name
- Add list of notable changes from OpenMetrics 1.0

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Coded with Claude Sonnet 4.6.
@krajorama krajorama requested review from bwplotka, dashpole and ywwg March 30, 2026 07:11

@bwplotka bwplotka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Amazing, thanks!

- Native Histograms with exponential bucket schemas introduced.
- UTF-8 metric and label names allowed with quoting.
- Exemplar timestamps are now mandatory; multiple exemplars per sample are allowed.
- Protobuf format specification removed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

TODO: Consider note with link to a migration guide

@bwplotka bwplotka merged commit f140aaa into main Mar 30, 2026
7 checks passed
@bwplotka bwplotka deleted the krajo/om2-extensions-improvements branch March 30, 2026 13:33
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