You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 23, 2024. It is now read-only.
Requirement - what kind of business use case are you trying to solve?
Correct probabilistic sampler tuning.
Problem - what in Jaeger blocks you from solving the requirement?
tracerOptions.RandomNumber accepts func() uint64 generator. User assumes it should generate full 64bit integer, and documentation of RandomNumber doesn't mention anything contradict to this assumption.
I think it's ok if the custom generator is 64 or 63 bits, but if the sampler is expecting 63bits, then it should unset the top bit of the ID before making a comparison here:
Requirement - what kind of business use case are you trying to solve?
Correct probabilistic sampler tuning.
Problem - what in Jaeger blocks you from solving the requirement?
tracerOptions.RandomNumber accepts
func() uint64
generator. User assumes it should generate full 64bit integer, and documentation of RandomNumber doesn't mention anything contradict to this assumption.jaeger-client-go/tracer_options.go
Line 72 in 47258d8
but Probabilistic sampler acts as if it gots 63bit integer from random generator:
jaeger-client-go/sampler.go
Line 106 in 47258d8
jaeger-client-go/sampler.go
Line 129 in 47258d8
and default random generator actually returns 63bit integers:
jaeger-client-go/tracer.go
Line 135 in 47258d8
Proposal - what do you suggest to solve the problem or improve the existing situation?
The text was updated successfully, but these errors were encountered: