code: def process(self, metric):
          
  
          self.queue.append(metric)
          if len(self.queue) >= self.queue_size:
              logging.debug("Queue is full, sending logs to Logentries")
              self._send()
docs: Process metric by sending it to datadog api