Why metrics in StatisticNode are not reused in cir

在1.6.1版本中使用的StatisticsNode的统计信息,有分钟级的滚动窗口 而现在 ExceptionCircuitBreaker 为何要再次单独进行统计(LeapArray stat),而且窗口sampleCount为1 请问这样做的好处是什么? 感觉升级后 测试熔断的准确性不如以前

原提问者GitHub用户woshioosm

展开
收起
学习娃 2023-05-19 15:11:28 115 分享 版权
1 条回答
写回答
取消 提交回答
  • 单独统计是为了支持任意统计时长 (support arbitrary statistic duration)。

    原回答者GitHub用户sczyh30

    2023-05-19 20:16:25
    赞同 展开评论
问答地址: