Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prefix TraceID/SpanID.String() with zeroes (#533)
* TraceID.String prefix with zeroes The wire encoding of the TraceID uses zero prefixes (#472). The JaegerUI also uses zero prefixes (since 1.16). So it makes sense that the Stringer of the TraceID also does this. Resolves #532 Signed-off-by: Lukas Vogel <vogel@anapaya.net> * SpanID.String prefix with zeroes Also test parsing back works. Signed-off-by: Lukas Vogel <vogel@anapaya.net> * fix tests? how do I run this thing locally? Signed-off-by: Lukas Vogel <vogel@anapaya.net> * fix tests! Signed-off-by: Lukas Vogel <vogel@anapaya.net>
- Loading branch information
1 parent
4b20232
commit b1fe7fe
Showing
3 changed files
with
65 additions
and
12 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
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