Skip to content

replace deprecated label name validation with UTF8Validation - #694

Merged
yeya24 merged 1 commit into
thanos-io:mainfrom
mustafain117:main
Mar 16, 2026
Merged

replace deprecated label name validation with UTF8Validation#694
yeya24 merged 1 commit into
thanos-io:mainfrom
mustafain117:main

Conversation

@mustafain117

Copy link
Copy Markdown
Contributor

This PR replaces deprecated legacy label name validation with UTF8Validation scheme to support any valid UTF-8 string as label names in label_join, label_replace, and count_values operations.

Current label name validation is deprecated (ref) since Prometheus supports utf-8 labels and the default validation scheme is UTF8Validation.

@fpetkovski fpetkovski left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks, this makes sense. We just need the DCO to unblock merge.

Signed-off-by: Mustafain Ali Khan <mustalik@amazon.com>
@mustafain117

Copy link
Copy Markdown
Contributor Author

Thanks, done!

@yeya24 yeya24 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks.

For the failed fuzz test, it is related to #663 (comment). We can ignore it in this PR

@yeya24
yeya24 merged commit bd201f9 into thanos-io:main Mar 16, 2026
6 of 7 checks passed
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