apache / apache/brpc

bvars window

Open
#746 0 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

HI, I read the documents of bvar and found the bvar::Window is kind of confusing:
How to get the max value of recent 1 minute. bvar::Window> is the correct solution or not? If this is correct, bvar::Window should reset the bvar::Maxer after sampling, but I didn't find the reset function. The same question for min/average.
Also I found the latency recorder uses Window, SERIES_IN_SECOND>as max windows, what's the meaning of SERIES_IN_SECOND and SERIES_IN_WINDOW?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.