def __init__(self, period, metric=None): ProxiedMetric.__init__(self, metric) self.period = period self.lastData = None self.percentChange = PercentChange(metric) self._addMetric(self.percentChange) self.changes = list() self.val = None
def __init__(self, metric=None): ProxiedMetric.__init__(self, metric) self.val = None self.lastData = None