Skip to content

Commit

Permalink
optimzie recorder doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yangjing committed Dec 31, 2020
1 parent df67918 commit 1451f2b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
20 changes: 12 additions & 8 deletions doc/recorder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,23 +119,27 @@ grpc server的其他录制操作,同 上面http server标准录制流程的1-4

#### 5.2、流量demo

详见 [grpc server录制流量demo](./recorder-agent.md)
详见 [grpc server录制流量demo](./traffic_grpc)

#### 5.3、待支持功能

##### 5.3.1、Outbound 为 grpc协议 的录制

即 grpc client端录制【待定制的grpc和koala_grpc支持
即 grpc client端录制【待定制的[grpc-server](../../grpc-server)[koala_grpc](../../recorder/koala_grpc)支持

##### 5.3.2、grpc协议 的回放

即 inbound 和 outbound为grpc协议的回放【待sharingan支持
即 inbound 和 outbound为grpc协议的回放【[replayer-agent](../../replayer-agent)支持

>温馨提示:对于使用grpc框架做PHP转GO的模块,跨语言流量回放是支持的。
>
>因为已经支持 [grpc server回放](../replayer/README.md#2.2-grpc-server),回放时是将fastcgi转为http协议回放的(grpc框架流量:http协议→ grpc-gateway→ grpc协议→grpc server)。
>
>因此,对于使用http协议,且基于grpc-gateway的模块,跨语言回放不受影响。
>温馨提示:
>对于使用grpc-server做PHP转GO的模块,跨语言流量回放是支持的。
replayer-agent已经支持 [grpc server回放](../replayer/README.md#2.2-grpc-server),回放时replayer-agent将fastcgi转为http协议回放。

grpc server框架流量:http协议→ grpc-gateway→ grpc协议→grpc server.

因此,对于使用http协议,且基于grpc-gateway的模块,跨语言回放不受影响。

## 二、最佳实践【**线上流量录制,强烈推荐**

Expand Down
4 changes: 2 additions & 2 deletions doc/replayer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
##### 快速安装(推荐)
```shell script
# mac
wget https://github.com/didi/sharingan/releases/download/v1.0.1/replayer-agent.mac.tar
wget https://github.com/didi/sharingan/releases/download/replayer-agent%2Fv1.3.0/replayer-agent.mac
# linux
wget https://github.com/didi/sharingan/releases/download/v1.0.1/replayer-agent.linux.tar
wget https://github.com/didi/sharingan/releases/download/replayer-agent%2Fv1.3.0/replayer-agent.linux
```
最新版本请查看 [releases](https://github.com/didi/sharingan/releases)

Expand Down

0 comments on commit 1451f2b

Please sign in to comment.