Comments (11)
What exactly does it mean?
from skyapm-php-sdk.
If collector is configured agent.authentication,but agent has no authentication option.
./sky_php_agent_linux_x64 127.0.0.1:11800 /tmp/sky_agent.sock
from skyapm-php-sdk.
Add later
from skyapm-php-sdk.
skywalking server端版本:7.0 或 5.0
php版本:php7.1
sky_php_agent version:3.2.8
skywalking.so 扩展参数: skywalking.version=5或6
现在支持 header头中报文,带有 authentication 验证头信息 收集么?
sky_php_agent 在skywalking服务器启动状态下。php的skywalking扩展不能正常工作,get访问方式无法获取到业务接口数据。目前,7.0 和5.0版本的skywalking 都测试过。启用就会影响接口数据get获取。
启动后header头缺少如下部分信息,导致get方式无法获取接口数据。
["authorization"]=>
array(1) {
[0]=>
string(25) "a6HEqpDQyZrPL1ZlMBgPU11zL"
}
["content-type"]=>
array(1) {
[0]=>
string(31) "application/json; charset=utf-8"
}
from skyapm-php-sdk.
会把authorization 删掉?
from skyapm-php-sdk.
sky-php-agent --grpc 192.168.1.29:11800 --socket /var/run/sky-agent.sock
sky-php-agent -v
sky_php_agent version 3.2.8
经过多次测试。步骤如下:(skywalking服务端,sky-php-agent,skywalking.so扩展都正常启动加载)
A,关闭skywalking服务端后,重启php-fpm,可一直get获取到接口数据,接口状态正常,报文header头信息中可获取到authorization信息。
B,重新启动skywalking服务端并正常记录链路追踪信息,接口就无法get获取数据,此时报文header头信息中丢失authorization信息,导致验证失败,无法get获取数据。
C,重启php-fpm,第一次可以正常get到数据(清浏览器确认不是缓存),第二次之后开始便无法get获取到数据,报文header头信息中丢失authorization信息。
无论是skywalking7.0 (skywalking.version=6)还是5.0 版本(skywalking.version=5) 都会出现同样的情况。
补充:今天本想重写一个演示页面,发现authorization 可以正常获取。现在验证是否是php框架的问题。 很抱歉。
from skyapm-php-sdk.
使用的什么框架?
from skyapm-php-sdk.
使用的lumen 和 phalcon,目前因 其他项目。暂时未跟进这个问题。还在排查.. 节后再继续查这个问题。
from skyapm-php-sdk.
不好意思,问题已解决。
是研发再提交gitlab代码里。配置文件缺省了协议导致authorization丢失问题。 如:STOCK_URL=www.abc.com 改为:STOCK_URL=http://www.abc.com 则正常 。
from skyapm-php-sdk.
Is agent.authentication
added? I need it when I use AliYun's TracingAnalysis Product
from skyapm-php-sdk.
No need
from skyapm-php-sdk.
Related Issues (20)
- centos安装成功之后前端没有数据展示 HOT 10
- hyperf(swoole) 上报数据异常,报FRAME_SIZE_ERROR HOT 4
- 关于skywalking时间的问题 HOT 5
- receive content is empty HOT 5
- sw extension compile failed at the 200th rust pkg. HOT 2
- sky-php-agent不能注册 HOT 1
- 4.2版本tars框架服务没有数据上报 HOT 9
- skywalking 9.1.0版本前端页面显示数据有延时 HOT 1
- docker部署8.9.1仪表盘显示异常 HOT 1
- 执行 php -v , php -m Segmentation fault (core dumped) HOT 3
- 数据无法上报:sky_core_report_ipc_send err message queue is fulled HOT 18
- skywalking.oap_authentication 支持这个参数吗? HOT 2
- skywakling导致php命令行终止执行 HOT 1
- 引入skywalking后,当访问增加时,进程被杀掉了
- 安装skywalking扩展后,执行php脚本报错
- sky_request_flush message_queue exNo such file or directory
- Error relocating skywalking.so: rc_dtor_func: symbol not found HOT 1
- 5.0.1 不配置 service_instance 不上报数据,配置 service_instance 上报为空
- 数据没有显现
- php skywalking 5.0.1 没有mysql和redis 等链路监控数据 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skyapm-php-sdk.