class_docstr: An AbstractSampledStat that maintains a simple average over its samples.
code: def combine(self, samples, config, now):
      total_sum = 0
      total_count = 0
      for sample in samples:
          total_sum += sample.value
          total_count += sample.event_count
      if not total_count:
          return 0
      return float(total_sum) / total_count
  
imports: from __future__ import absolute_import
  from kafka.metrics.stats.sampled_stat import AbstractSampledStat
label_desc: Use image node_id 3 for calling the Avg obj's underlying member method code with example usage: obj.combine(samples, config, now) and returns: unknown, int