config->getLocalAgentReportingHost(), $this->config->getLocalAgentReportingPort(), "/api/traces" ); try { $transport->open(); } catch (TTransportException $e) { $this->config->getLogger()->warning($e->getMessage()); } $protocol = new TBinaryProtocol($transport); $client = new HttpAgentClient($protocol); $this->config->getLogger()->debug('Initializing HTTP Jaeger Tracer with Jaeger.Thrift over Binary protocol'); $sender = new JaegerSender($client, $this->config->getLogger()); $sender->setMaxBufferLength($this->config->getMaxBufferLength()); return new JaegerReporter($sender); } }