(self, metric)
Process metric by sending it to datadog api
Process metric by sending it to datadog api
Process metric by sending it to datadog api
def process(self, metric):
        """
        Process metric by sending it to datadog api
        """

        self.queue.append(metric)
        if len(self.queue) >= self.queue_size:
            self._send()
def process ( self , metric ) : self . queue . append ( metric ) if len ( self . queue ) >= self . queue_size : self . _send ( )