Whether a trace should be sampled based on its Trace Id.
bool sampleTrace(TracingId traceId) { final lowBits = traceId.value & _maxUint64; return sample(lowBits); }