php7如何接入jaeger?

php7如何接入jaeger?,第1张

php7如何接入jaeger?

下载client包
https://packagist.org/package...
报错

Fatal error: Uncaught Error: Call to undefined function Jaeger\socket_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): Jaeger\UdpClient->__construct('192.168.0.8:577...')
#1 /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/Reporter/RemoteReporter.php(25): Jaeger\Transport\TransportUdp->flush()
#2 /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/Config.php(156): Jaeger\Reporter\RemoteReporter->close()
#3 /root/jaeger/index.php(42): Jaeger\Config->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

推荐教程:《php教程》

以上就是php7如何接入jaeger?的详细内容,

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/680147.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-20
下一篇 2022-04-20

发表评论

登录后才能评论

评论列表(0条)

保存