/** * Send an Event object to datadog * * @param Event $event * * @return Client */ public function sendEvent(Event $event) { $this->send(self::ENDPOINT_EVENT . $this->getApiKey(), $event->toArray()); return $this; }