Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 213bba8

Browse files
author
Ramon Nogueira
authored
Allow any unicode characters in the TagValue (#71)
Prometheus permits any characters: https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels In gRPC propagation, the tags are binary encoded as UTF-8 strings, so there should be no problem there. For HTTP, we can use mime encoding.
1 parent afbb088 commit 213bba8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tags/TagContext.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ A string or string wrapper, with some restrictions:
2020

2121
## TagValue
2222

23-
A string or string wrapper with the same restrictions as `TagKey`, except that it
24-
is allowed to be empty.
23+
A TagValue can be any unicode string whose size when encoded in UTF-8
24+
is less than 256 bytes. An empty value is allowed.
2525

2626
## Serialization
2727

0 commit comments

Comments
 (0)