-
Notifications
You must be signed in to change notification settings - Fork 3
Hold trace-id in TraceID struct #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Tests/W3CTraceContextTests/QueueBasedRandomNumberGenerator.swift
Outdated
Show resolved
Hide resolved
ktoso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :) I think I'd want to add the !-safe comments everywhere tbh, it's noisy but allows us to grep codebases for ! and see if anything is not !-safe annotated
I tend to only "justify" |
Co-authored-by: Konrad `ktoso` Malawski <ktoso@apple.com>
Upgrade trace id from a plain
Stringto its ownTraceIDstruct. This will allow users to make computations, such as comparing the low value to an upper bound (probabilistic sampling).