code: def export(self, name, columns, points):
          
          if name == self.plugins_to_export()[0] and self.buffer != {}:
              # One complete loop have been done
              logger.debug("Export stats ({}) to RESTful endpoint ({})".format(listkeys(self.buffer),
                                                                               self.client))
              # Export stats
              post(self.client, json=self.buffer, allow_redirects=True)
              # Reset buffer
              self.buffer = {}
  
          # Add current stat to the buffer
          self.buffer[name] = dict(zip(columns, points))
docs: Export the stats to the Statsd server.