php7如何接入jaeger?

2020-07-16 10:06:15

下載client包
https://packagist.org/package...
報錯

Fatal error: Uncaught Error: Call to undefined function Jaegersocket_create() in /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/UdpClient.php:23
Stack trace:
#0 /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/Transport/TransportUdp.php(136): JaegerUdpClient->__construct('192.168.0.8:577...')
#1 /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/Reporter/RemoteReporter.php(25): JaegerTransportTransportUdp->flush()
#2 /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/Config.php(156): JaegerReporterRemoteReporter->close()
#3 /root/jaeger/index.php(42): JaegerConfig->flush()
#4 {main}
  thrown in /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/UdpClient.php on line 23

沒有開socket擴充套件,改php.ini開啟

extension=php_sockets.dll

以上就是php7如何接入jaeger?的詳細內容,更多請關注TW511.COM其它相關文章!