Skip to content

om2: MetricFamilyName is MetricName#2791

Open
bwplotka wants to merge 4 commits intomainfrom
bwplotka/om2-restr
Open

om2: MetricFamilyName is MetricName#2791
bwplotka wants to merge 4 commits intomainfrom
bwplotka/om2-restr

Conversation

@bwplotka
Copy link
Member

@bwplotka bwplotka commented Dec 3, 2025

Fixes prometheus/OpenMetrics#305

We can either merge this with TODOs before complex values/types or wait for complex type/values.

@bwplotka
Copy link
Member Author

bwplotka commented Dec 3, 2025

I am bit surprised but I couldn't find any special rule for those suffixes in the ABNF to change... also tests passes despite me adding suffixes to MF names. Something smells like ABNF is too relaxed.

Copy link
Member

@ArthurSens ArthurSens left a comment

Choose a reason for hiding this comment

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

I could review only half of the PR 😬, I have some small comments

@jan--f jan--f added the kind/feature New documentation content label Dec 5, 2025
@ywwg
Copy link
Member

ywwg commented Feb 9, 2026

do we still intend to merge this?

@bwplotka bwplotka force-pushed the bwplotka/om2-restr branch 6 times, most recently from 11a31fa to ff36b8d Compare February 10, 2026 06:41
@bwplotka
Copy link
Member Author

I think so. Much simpler now with Composite Types merged in.

@bwplotka
Copy link
Member Author

PTAL @krajorama @dashpole @ywwg

Fixes prometheus/OpenMetrics#305

Signed-off-by: bwplotka <bwplotka@gmail.com>
dashpole
dashpole previously approved these changes Feb 10, 2026
Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
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/feature New documentation content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OM 2.0: Restrict metric family to NOT strip suffix

6 participants

Comments