pinpoint-c-agent icon indicating copy to clipboard operation
pinpoint-c-agent copied to clipboard

Does the latest version of pinpoint support swoole

Open xgs736214763 opened this issue 3 years ago • 4 comments

How to introduce hypref framework

xgs736214763 avatar Jul 28 '22 15:07 xgs736214763

pinpoint for swoole , is end of support

eeliu avatar Jul 29 '22 07:07 eeliu

swoole启动之后没有看到应用上报,下面是输出的日志 `[29-Jul-2022 07:53:11 UTC] [pinpoint] [24449] [24449]#0 pinpoint_start child #128 [29-Jul-2022 07:53:11 UTC] [pinpoint] [24449] [24449]#128 add clue key:stp value:1500 [29-Jul-2022 07:53:11 UTC] [pinpoint] [24449] [24449]#128 add clue key:name value:PHP Request: cli [29-Jul-2022 07:53:11 UTC] [pinpoint] [24449] [24449]#128 add clue key:uri value:bin/hyperf.php start [29-Jul-2022 07:53:11 UTC] [pinpoint] [24449] [24449]#128 add clue key:server value:iz8vb5o2t7kujigfc6f11nz[pid:24449] [29-Jul-2022 07:53:11 UTC] [pinpoint] [24449] [24449]#128 add clue key:appname value:app-hypref [29-Jul-2022 07:53:11 UTC] [pinpoint] [24449] [24449]#128 add clue key:appid value:app-hypref [29-Jul-2022 07:53:11 UTC] [pinpoint] [24449] [24449]#128 add clue key:tid value:app-hypref^1659025351^22 [29-Jul-2022 07:53:11 UTC] [pinpoint] [24449] [24449]#128 add clue key:sid value:1544458358 [29-Jul-2022 07:53:11 UTC] [pinpoint] [24450] [24450]this span:({"E":497,"FT":1500,"S":1659081191145,"appid":"app-hypref","appname":"app-hypref","name":"PHP Request: cli","server":"iz8vb5o2t7kujigfc6f11nz[pid:24449]","sid":"1544458358","stp":"1500","tid":"app-hypref^1659025351^22","uri":"bin/hyperf.php start"}) [29-Jul-2022 07:53:11 UTC] [pinpoint] [24450] [24450]agent try to connect:(Tcp:127.0.0.1:9989) [29-Jul-2022 07:53:11 UTC] [pinpoint] [24450] [24450]#128 pinpoint_end_trace Done!

` 上面的日志没有看到send

入口文件的配置如下 ################################################################### define('AOP_CACHE_DIR', BASE_PATH . '/Cache/'); define('PLUGINS_DIR', BASE_PATH . '/Plugins/'); define('PER_REQ_CLASS_NAME','Plugins\Framework\Swoole\Http\Server\PerReqPlugin'); define('APPLICATION_NAME','app-hypref'); // your application name define('APPLICATION_ID','app-hypref'); // your application id define('PINPOINT_USE_CACHE','YES'); require_once BASE_PATH . '/vendor/pinpoint-apm/pinpoint-php-aop/auto_pinpointed.php'; ###################################################################

xgs736214763 avatar Jul 29 '22 07:07 xgs736214763

使用的是swoole的hypref框架,入口文件如下图 image

xgs736214763 avatar Jul 29 '22 07:07 xgs736214763

+1 flask能看到输出 但是web界面看不到应用注册 不知道解决没有

dxl727754275 avatar Aug 12 '22 09:08 dxl727754275

没有,换到低版本也没有,所有暂时放弃了pinpoint

xgs736214763 avatar Aug 13 '22 06:08 xgs736214763

pinpoint for swoole , is end of support

We have no plan to re-support swoole related php framework.

eeliu avatar Aug 18 '22 01:08 eeliu