Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
SkyAPM
SkyAPM-php-sdk
提交
a0683b96
S
SkyAPM-php-sdk
项目概览
SkyAPM
/
SkyAPM-php-sdk
通知
14
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyAPM-php-sdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
a0683b96
编写于
10月 12, 2019
作者:
何
何延龙
提交者:
GitHub
10月 12, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #141 from SkyAPM/develop
Update Docs
上级
47fb6347
74bae5e3
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
33 addition
and
20 deletion
+33
-20
docs/install-agent.md
docs/install-agent.md
+16
-10
docs/quick-start.md
docs/quick-start.md
+3
-1
docs/zh/change-log.md
docs/zh/change-log.md
+6
-1
docs/zh/start-agent.md
docs/zh/start-agent.md
+8
-8
未找到文件。
docs/install-agent.md
浏览文件 @
a0683b96
...
...
@@ -13,12 +13,12 @@ git clone https://github.com/SkyAPM/SkyAPM-php-sdk.git
cd
SkyAPM-php-sdk
phpize
&&
./configure
&&
make
&&
make
install
// download sky
_php_
agent
// e.g. 3.
0
.0
wget https://github.com/SkyAPM/SkyAPM-php-sdk/releases/download/3.
0.0/sky_php_agent_linux_
x64
mv
sky
_php_agent_linux_x64 sky_php_
agent
chmod
+x sky
_php_
agent
cp
sky
_php_
agent /usr/bin
// download sky
-php-
agent
// e.g. 3.
2
.0
wget https://github.com/SkyAPM/SkyAPM-php-sdk/releases/download/3.
2.0/sky-php-agent-linux-
x64
mv
sky
-php-agent-linux-x64 sky-php-
agent
chmod
+x sky
-php-
agent
cp
sky
-php-
agent /usr/bin
```
# How to use
...
...
@@ -33,15 +33,21 @@ extension=skywalking.so
skywalking.enable
=
1
;
Set skyWalking collector version
(
5 or 6
)
skywalking.version
=
5
skywalking.version
=
6
;
Set app code e.g. MyProjectName
skywalking.app_code
=
MyProjectName
```
Run
`sky
_php_
agent`
to send PHP generated log information to
`SkyWalking collector`
Run
`sky
-php-
agent`
to send PHP generated log information to
`SkyWalking collector`
```
shell
// sky
_php_
agent
[
collector grpc address]
// sky
-php-
agent
[
collector grpc address]
// e.g.
sky_php_agent 127.0.0.1:11800
sky-php-agent
--grpc
127.0.0.1:11800
```
Show help
```
bash
sky-php-agent
-h
```
\ No newline at end of file
docs/quick-start.md
浏览文件 @
a0683b96
# todo
\ No newline at end of file
# todo
See
[
Install php agent
](
install-agent.md
)
\ No newline at end of file
docs/zh/change-log.md
浏览文件 @
a0683b96
# 20191001
## Agent 修改
1.
修改文件权限为0777
1.
执行
`sky-php-agent -h`
查看可用参数
# 20190722
## SkyWalking 扩展修改
1.
支持对mysqli扩展的支持(目前暂时仅支持
`mysqli::query()`
)
...
...
@@ -5,7 +10,7 @@
# 20190719
## Agent 修改
1.
agent创建的文件权限修改为0666, 文件的类型修改为sock类型。修复php与sock文件进行通信时提示"Permission Deny"的问题
2.
agent的参数接收方式修改, 执行
`sky
_php_
agent -h`
查看可用参数
2.
agent的参数接收方式修改, 执行
`sky
-php-
agent -h`
查看可用参数
3.
agent支持在参数中指定sock文件的路径
## SkyWalking 扩展修改
...
...
docs/zh/start-agent.md
浏览文件 @
a0683b96
...
...
@@ -6,12 +6,12 @@
x64/x86分别指64位操作系统/32位操作系统
```
sky
_php_agent_darwin_
x64
sky
_php_agent_darwin_
x86
sky
_php_agent_linux_
x64
sky
_php_agent_linux_
x86
sky
_php_agent_linux_
arm64
sky
_php_agent_linux_
arm86
sky
-php-agent-darwin-
x64
sky
-php-agent-darwin-
x86
sky
-php-agent-linux-
x64
sky
-php-agent-linux-
x86
sky
-php-agent-linux-
arm64
sky
-php-agent-linux-
arm86
```
...
...
@@ -19,10 +19,10 @@ sky_php_agent_linux_arm86
```
shell
# 添加可执行权限
sudo chmod
+x ./sky
_php_agent_linux_
x64
sudo chmod
+x ./sky
-php-agent-linux-
x64
# 启动
./sky
_php_agent_linux_
x64 127.0.0.1:11800 /tmp/sky_agent.sock
./sky
-php-agent-linux-
x64 127.0.0.1:11800 /tmp/sky_agent.sock
```
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录