code: protected function send($data)
      {
          if ($this->doNotTrack) {
              return;
          }
  
          // Wrap this in a try/catch - failures in any of this should be silently ignored
          try {
              $fp = fsockopen("udp://$this->host", $this->port, $errno, $errstr);
              if (!$fp) {
                  return;
              }
              fwrite($fp, $data);
              fclose($fp);
          } catch (\Exception $e) {
          }
      }
docs: Sends metrics over UDP