You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fancyki1
changed the title
[BUG] micro-service use grpcgateway send grpc request to itself, but the request resolve status is unknown
[BUG] micro-service use grpcgateway send http request to grpc, but the request resolve status is unknown
Sep 19, 2024
Fancyki1
changed the title
[BUG] micro-service use grpcgateway send http request to grpc, but the request resolve status is unknown
[BUG] micro-service use grpcgateway send http request to grpc, the request resolve status is unknown
Sep 19, 2024
Fancyki1
changed the title
[BUG] micro-service use grpcgateway send http request to grpc, the request resolve status is unknown
[BUG] micro-service use gRPC-Gateway component, the client send http request to grpc, the request resolve status is unknown
Sep 19, 2024
Fancyki1
changed the title
[BUG] micro-service use gRPC-Gateway component, the client send http request to grpc, the request resolve status is unknown
[BUG] micro-service use gRPC-Gateway, the client send http request to grpc, the request resolve status is unknown
Sep 19, 2024
Search before asking
DeepFlow Component
Agent
What you expected to happen
背景: k8s环境中,有部分微服务使用了
gRPC-Gateway
发送http内部转grpc请求结论: deepflow可以采集到http的请求内容,但是无法采集和解析grpc请求,响应状态为unknown
使用组件: https://github.com/grpc-ecosystem/grpc-gateway
组件原理:
请求拓扑:
代码实现:
定义一个grpc接口文件
golang代码实现
deepflow可观测结果
前端gateway->micro-service:http请求采集正常
micro-service->grpc gateway->grpc server: grpc请求采集异常
经过
grpc gateway
采集的grpc请求状态都为unknown无法解析经过测试: 重启服务后,采集的一段时间内,请求结果是成功了,之后又全部unknown了
另外: 采用开启uprobe后,请求的状态获取正常,但是uprobe配合extra-log-fields自定义头采集,开启后短暂时间内可以采集到自定义头部,明显unknown大量减少,但是过了30秒后自定义头部就采集不到了,我们尝试在agent rust源代码处理的位置打了log,重新编译agent部署测试,过了大概30秒后,发现ebpf内核采集的数据到了rust用户态处理的阶段自定义header数据就没了,这个会有另一个issue去记录。
@sharang @yinjiping
How to reproduce
No response
DeepFlow version
kubectl exec -it -n deepflow deploy/deepflow-server -- deepflow-server -v
kubectl exec -it -n deepflow ds/deepflow-agent -- deepflow-agent -v
DeepFlow agent list
No response
Kubernetes CNI
No response
Operation-System/Kernel version
4.18.0-372.32.1.90.po1.x86_64
Anything else
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: