

def sample(self, value, sample_rate, timestamp=None):
    self.value = ((sample_rate.value or 0) + value)
    self.last_sample_time = time()

dataset/ETHPy150Open serverdensity/sd-agent/aggregator.py Count.sample/VarMisuse@24/27 `self`->`sample_rate`