-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UTF-8 support in metric and label names (#689)
Allow UTF-8 escaped characters in label and metric names This changes the validation in general and also adds a new escaping scheme for URL parameters (the `U__` encoding used to escape names for legacy systems, which unfortunately is different from the base64 encoding we already use for label _values). The behavior is opt-in via a flag because there are valid legacy names that could also be seen as encoded versions of new names with special UTF-8 characters. Signed-off-by: Federico Torres <[email protected]> --------- Signed-off-by: Federico Torres <[email protected]>
- Loading branch information
1 parent
c48dde7
commit c408b8e
Showing
4 changed files
with
369 additions
and
3 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
Oops, something went wrong.