Bvar会丢失数据
Open
- Dominant language
- C++
- Stars
- 17.6k
- Forks
- 4.1k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 69
Description
我用mbvar来模拟prometheus的histogram指标,通过添加一个le的label来统计所有小于等于这个值的counter,其中+inf应该等于所有的请求数。但跑了一段时间后发现counter数并没有按照le的大小排序。如图

Contributor guide
Research direction
No source file or test is named. Start by reproducing the reported mbvar Prometheus histogram case with the le label and compare bucket counters over time. Done means explaining or correcting why counts stop following le order and ensuring +inf matches the total request count.
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
- 25/100