We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've been looking at a TraceIdRatioSampler, which has some bitwise operations to try and get a ratio from the traceID. It copies the TraceID into a span, then iterates over its lower 8 bits to get an int64.
It seems like calling GetHashCode would have the same probability distribution, and be faster?
The text was updated successfully, but these errors were encountered:
See this: open-telemetry/opentelemetry-specification#1413
I believe the current implementation is aligned with other languages, though not formally spec-ed, and changes this could have significant impact.
Sorry, something went wrong.
No branches or pull requests
I've been looking at a TraceIdRatioSampler, which has some bitwise operations to try and get a ratio from the traceID. It copies the TraceID into a span, then iterates over its lower 8 bits to get an int64.
It seems like calling GetHashCode would have the same probability distribution, and be faster?
The text was updated successfully, but these errors were encountered: