Sampling
Represents an object that collects samples of values.
getSnapshot
Returns a snapshot of the collected values.