-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement multi bvar feature #1608
Conversation
代码以及文档都提交了。 |
eaabba8
to
ad3731e
Compare
ad3731e
to
cacbd03
Compare
这个mr 大概什么时候可以提交? |
你现在使用这个功能了吗? |
想问下 为啥不在brpc_metrics导出呢? |
有可能metrics和维度非常多,目前还没有通过brpc_metrics导出,不过这个实现起来应该不复杂 |
谢谢@serverglen;是的,我目前基于这个PR已经导出来了,改动比较小,就是metrics维度多的话容易影响/brpc_metrics 性能; |
可以支持按照条件过滤,这样导出的数据应该比较小。 |
这个是不是支持比较好,现在bvar创建本身也没有考虑限制一个数量对于性能带来的影响,由用户自己评估 |
// latency_percentiles | ||
// p1/p2/p3 | ||
int latency_percentiles[3] {FLAGS_bvar_latency_p1, FLAGS_bvar_latency_p2, FLAGS_bvar_latency_p3}; | ||
for (auto lp : latency_percentiles) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里的分位值是固定只支持三个9和4四个9,不支持任意配置的?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
内部暂时是这么实现的,后面可以改成可配置。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修改,辛苦再帮review一下
hello @tcp9 brpc_metric支持导出多维度metics的,能提交一个mr,贡献出来吗? |
Related issue: #1322