pub fn track_borrow_sampled<'a, T: ?Sized>( name: &str, value: &'a T, sample_rate: f64, ) -> &'a T
Track immutable borrow with sampling.