Skip to content

replace invalid characters in ids#106

Merged
copperlight merged 1 commit intoNetflix:mainfrom
copperlight:replace-invalid-chars
Jul 16, 2024
Merged

replace invalid characters in ids#106
copperlight merged 1 commit intoNetflix:mainfrom
copperlight:replace-invalid-chars

Conversation

@copperlight
Copy link
Copy Markdown
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.

Comment thread spectator/stateless_meters.h Outdated
Comment thread spectator/stateless_meters.h
@copperlight copperlight force-pushed the replace-invalid-chars branch 4 times, most recently from 94eced0 to 290b08a Compare July 16, 2024 21:36
Comment thread spectator/stateless_meters.h Outdated
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 from 290b08a to 3c18502 Compare July 16, 2024 23:00
@copperlight copperlight merged commit 8b9d409 into Netflix:main Jul 16, 2024
@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