code: def dump(self):
          
  
          # Print out the collectd feedback.
          # This is sent to stdout while other log messages are sent to stderr.
          for k, v in sorted(self._dict.items()):
              print(self.formatter(k, v))
  
          # Reset each entry to zero
          for k, v in sorted(self._dict.items()):
              self._dict[k] = 0
docs: Called by CollectdProducer every `n` seconds.