如何让brpc的brpcz只展示发生错误的请求?

Open
#3,256 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
cpp
Domain
observability

Research direction

Reproduce the brpcz page behavior with curl localhost:port/rpcz?error_code=1014 and compare it with requests known to have error 1014. Trace how the rpcz endpoint matches recorded spans; done means explaining or correcting why the filter reports “Fail to find matched spans” despite failed requests, with a regression check for the filter behavior.

Written by the indexing model from the issue text.

Description

线上服务,brpc请求很多。使用brpcz页面看到的都是ok,使用:

curl localhost:port/rpcz?error_code=1014

会显示 Fail to find matched spans`,但是确实是有这个错误的请求,请问如何解决?

Dominant language
C++
Stars
17.6k
Forks
4.2k
Avg merge
3d 17h
Merged PRs (30d)
72

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/brpc

All issues in apache/brpc

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.