Skip to content

Conversation

juliusmh
Copy link
Contributor

@juliusmh juliusmh commented Jun 24, 2025

This PR removes the global NameValidationScheme and changes signatures of LabelName.IsValid and IsValidMetricName to accept an explicit ValidationScheme.

Copy link
Contributor

@aknuds1 aknuds1 left a comment

Choose a reason for hiding this comment

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

Please see comments.

@juliusmh juliusmh force-pushed the remove_global_name_validation branch 3 times, most recently from 735892a to 8ee38a2 Compare July 4, 2025 08:14
@juliusmh juliusmh force-pushed the remove_global_name_validation branch from 8ee38a2 to b107693 Compare July 4, 2025 08:16
@juliusmh juliusmh force-pushed the remove_global_name_validation branch from b107693 to 5d72c76 Compare July 4, 2025 08:23
Copy link
Contributor

@aknuds1 aknuds1 left a comment

Choose a reason for hiding this comment

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

I think it looks pretty good now, except for the IsValidLegacyMetricName doc comment referring to NameValidationScheme.

@juliusmh
Copy link
Contributor Author

juliusmh commented Jul 4, 2025

I think it looks pretty good now, except for the IsValidLegacyMetricName doc comment referring to NameValidationScheme.

Fixed!

@ywwg
Copy link
Member

ywwg commented Aug 19, 2025

obsoleted by #808

@ywwg
Copy link
Member

ywwg commented Aug 19, 2025

correction, #808 only removes global validation from the decoder, nowhere else. So this PR is still useful

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