Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace invalid characters in ids #106

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

copperlight
Copy link
Collaborator

It is easy enough to break the spectatord line protocol, if any of the control characters (:,=) are inserted in unexpected places. Since metric names and tags are often programmatically generated, we want to only construct id strings which are valid.

@copperlight copperlight force-pushed the replace-invalid-chars branch 4 times, most recently from 94eced0 to 290b08a Compare July 16, 2024 21:36
It is easy enough to break the spectatord line protocol, if any of the control
characters (`:,=`) are inserted in unexpected places. Since metric names and
tags are often programmatically generated, we want to only construct id strings
which are valid.
@copperlight copperlight merged commit 8b9d409 into Netflix:main Jul 16, 2024
1 check passed
@copperlight copperlight deleted the replace-invalid-chars branch July 16, 2024 23:04
fvallenilla pushed a commit to fvallenilla/spectator-cpp that referenced this pull request Aug 2, 2024
It is easy enough to break the spectatord line protocol, if any of the control
characters (`:,=`) are inserted in unexpected places. Since metric names and
tags are often programmatically generated, we want to only construct id strings
which are valid.
fvallenilla pushed a commit to fvallenilla/spectator-cpp that referenced this pull request Aug 2, 2024
It is easy enough to break the spectatord line protocol, if any of the control
characters (`:,=`) are inserted in unexpected places. Since metric names and
tags are often programmatically generated, we want to only construct id strings
which are valid.
fvallenilla pushed a commit to fvallenilla/spectator-cpp that referenced this pull request Aug 2, 2024
It is easy enough to break the spectatord line protocol, if any of the control
characters (`:,=`) are inserted in unexpected places. Since metric names and
tags are often programmatically generated, we want to only construct id strings
which are valid.
fvallenilla pushed a commit to fvallenilla/spectator-cpp that referenced this pull request Aug 4, 2024
It is easy enough to break the spectatord line protocol, if any of the control
characters (`:,=`) are inserted in unexpected places. Since metric names and
tags are often programmatically generated, we want to only construct id strings
which are valid.
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