bvar中延时的数据显示,在界面打开时的实时数值,与每秒curl获取的值的内容不同
- Dominant language
- C++
- Stars
- 17.6k
- Forks
- 4.1k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 69
Description
**Describe the bug (描述bug)**
bvar的延时统计的数据,在界面打开时的实时数值,与每秒curl获取的值的内容不同。
然后实时数据与我通过打开bvar_dump获取到的值也不相同
**To Reproduce (复现方法)**
正常跑bvar统计即可
**Expected behavior (期望行为)**
界面上的实时更新的数值与curl获取到的数值相同
**Versions (各种版本)**
OS:
Compiler:
brpc:
protobuf:
**Additional context/screenshots (更多上下文/截图)**
比如实时获取里面,有从200us到10ms的数值,但是通过curl看的话,没有10ms的值,只有1-2毫秒的那种。不知道是不是我使用的方式不对。
Contributor guide
Research direction
Start by reproducing the discrepancy in the bvar real-time interface, the per-second curl output, and bvar_dump output. Record the bvar endpoint, sampling method, and missing version information, then trace how each view obtains latency values. Done means the three representations report consistent latency data or the expected difference is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100