-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This makes sure that | and : are not sent in as tag values, which causes statsd parse errors, since | and : are delimiters in the statsd format. This is the most conservative approach in validation, and I think it makes sense because people tend to send unchecked input in as tag values. There are stricter rules for metric names and tag keys (at least in wavefront[1]) but rather than silently changing those, we should let them fail and cause alerts as they currently do. [1] https://docs.wavefront.com/wavefront_data_format.html
- Loading branch information
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters