

def sample(self, value, sample_rate, timestamp=None):
    self.count += int((1 / value))
    self.samples.append(value)
    self.last_sample_time = time()

dataset/ETHPy150Open serverdensity/sd-agent/aggregator.py Histogram.sample/VarMisuse@27/30 `sample_rate`->`value`