Skip to content

fix(metrics): Replace invalid tag values with an empty string instead of _#2773

Merged
markushi merged 1 commit intomasterfrom
fix/metrics-tag-value-normalization
Feb 28, 2024
Merged

fix(metrics): Replace invalid tag values with an empty string instead of _#2773
markushi merged 1 commit intomasterfrom
fix/metrics-tag-value-normalization

Conversation

@markushi
Copy link
Copy Markdown
Member

@markushi markushi commented Feb 27, 2024

According to our spec invalid tag values should be replaced with no string.

Tag Values: regex [^\w\d_:/@\.{}\[\]$-]+ with no replacement character.

I cross checked with PHP and JS: both of them also use no replacement character.

Copy link
Copy Markdown
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

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

👍🏻 Thanks for the fix!

@markushi markushi merged commit f874407 into master Feb 28, 2024
@markushi markushi deleted the fix/metrics-tag-value-normalization branch February 28, 2024 09:45
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