func (t RateSampler) ShouldSample(span RawSpan) bool {
	traceID := span.Context.TraceID[:8]
	id, _ := strconv.ParseUint(traceID, 16, 32)
	return (id % 100) < t.Rate
}
// ShouldSample return true based on a rate
ShouldSample return true based on a rate
// ShouldSample return true based on a rate
func (t RateSampler) ShouldSample(span RawSpan) bool {
	traceID := span.Context.TraceID[:8]
	id, _ := strconv.ParseUint(traceID, 16, 32)
	return (id % 100) < t.Rate
}
func ( t RateSampler ) ShouldSample ( span RawSpan ) bool { traceID := span . Context . TraceID [ : 8 ] id , _ := strconv . ParseUint ( traceID , 16 , 32 ) return ( id % 100 ) < t . Rate }
ShouldSample return true based on a rate
ShouldSample return true based on a rate