Skip to content

Conversation

ywwg
Copy link
Member

@ywwg ywwg commented Oct 2, 2025

@ywwg ywwg force-pushed the owilliams/utf8-abnf branch from 755a40d to 908e3a6 Compare October 2, 2025 15:33
@ywwg ywwg marked this pull request as ready for review October 2, 2025 15:34
@ywwg ywwg marked this pull request as draft October 2, 2025 15:37
Signed-off-by: Owen Williams <[email protected]>
@ywwg ywwg marked this pull request as ready for review October 2, 2025 15:41
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.

looks good, one nit comment

Signed-off-by: Owen Williams <[email protected]>
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.

looking good, I think need some examples with CI check on them

@ywwg ywwg requested a review from krajorama October 6, 2025 17:18
label-name-initial-char = ALPHA / "_"
escaped-string = *escaped-char
escaped-string = 1*escaped-char
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this a breaking change for labels? https://prometheus.io/docs/specs/om/open_metrics_spec/#label
The format allows empty string as far as I understand.

Copy link
Member Author

Choose a reason for hiding this comment

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

ah, correct -- ok we need to allow empty strings for label values but not label or metric names

@krajorama
Copy link
Member

@ywwg I'd suggest to scan the "Design considerations" section, in particular https://prometheus.io/docs/specs/om/open_metrics_spec/#metric-naming-and-namespaces .

I've done it as a follow-up to relaxed suffix rules, see #2751

Signed-off-by: Owen Williams <[email protected]>
@ywwg ywwg requested a review from krajorama October 8, 2025 15:44
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.

3 participants