-
Notifications
You must be signed in to change notification settings - Fork 147
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
timer中能否添加一分钟内出现错误的次数统计? #22
Comments
用Compass就可以统计了,需要你自己埋点 |
Compass统计的是累计次数 我的需求是想统计1分钟 5分钟内出现的错误次数 |
你看下代码,Compass内部也是用BucketCounter的,也是按照时间间隔统计的 |
ScheduledReporter 我想起来了 这个类里没有实现打印compass这种类型的统计 |
MetricManagerReporter 我需要用这个类去实现compass的打印吗? |
我是继承 ScheduledReporter 然后复写report方法实现?我看了一下MetricManagerReporter这个类 他是收集到文件中?? |
这些功能都已经实现了,不需要你写代码 |
我具体用哪个类?看哪个测试用例 |
我想实现ScheduledReporter这个类的功能 用Compress具体参考哪个类?哪个测试用例啊? |
See similar issue #9 |
timer中能否添加一分钟内出现错误的次数统计?
这样的话 我就只需要用一个timer 就可以统计出我所需要的数据了 统计错误次数的原因是 方便监控以及预警
The text was updated successfully, but these errors were encountered: