You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@brpc.apache.org by "YjyJeff (via GitHub)" <gi...@apache.org> on 2026/03/30 01:16:55 UTC
[I] 如何让brpc的brpcz只展示发生错误的请求? (brpc)
YjyJeff opened a new issue, #3256:
URL: https://github.com/apache/brpc/issues/3256
线上服务,brpc请求很多。使用brpcz页面看到的都是ok,使用:
```
curl localhost:port/rpcz?error_code=1014
```
会显示 **Fail to find matched spans`**,但是确实是有这个错误的请求,请问如何解决?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For additional commands, e-mail: issues-help@brpc.apache.org
Re: [I] 如何让brpc的brpcz只展示发生错误的请求? (brpc)
Posted by "TousakaRin (via GitHub)" <gi...@apache.org>.
TousakaRin commented on issue #3256:
URL: https://github.com/apache/brpc/issues/3256#issuecomment-4153943139
brpc 的rpcz是采样收集的,不是所有的请求都会被保存
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For additional commands, e-mail: issues-help@brpc.apache.org
Re: [I] 如何让brpc的brpcz只展示发生错误的请求? (brpc)
Posted by "ssk01 (via GitHub)" <gi...@apache.org>.
ssk01 commented on issue #3256:
URL: https://github.com/apache/brpc/issues/3256#issuecomment-4647299474
1. curl "localhost:port/rpcz?error_code=1014&max_scan=10000" 默认就扫描100条,可以通过设置参数扫描到1000条。
2. 如果上面还捞不到,那真的是非常低频了。可能需要新加feature,考虑采集的时候(/rpcz/enable) ,query parameter带上查询条件,只落特定条件的请求。比如error_doe=1014/min_latency=99/min_request_size=1024等。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For additional commands, e-mail: issues-help@brpc.apache.org