

def __init__(self, hostname, interval=1.0, expiry_seconds=300, formatter=None, recent_point_threshold=None, histogram_aggregates=None, histogram_percentiles=None, utf8_decoding=False):
    super(MetricsBucketAggregator, self).__init__(hostname, interval, expiry_seconds, recent_point_threshold, recent_point_threshold, histogram_aggregates, histogram_percentiles, utf8_decoding)
    self.metric_by_bucket = {
        
    }
    self.last_sample_time_by_context = {
        
    }
    self.current_bucket = None
    self.current_mbc = {
        
    }
    self.last_flush_cutoff_time = 0
    self.metric_type_to_class = {
        'g': BucketGauge,
        'c': Counter,
        'h': Histogram,
        'ms': Histogram,
        's': Set,
    }

dataset/ETHPy150Open serverdensity/sd-agent/aggregator.py MetricsBucketAggregator.__init__/VarMisuse@55/78 `formatter`->`recent_point_threshold`