dubbo [Observability Task] Code Refactor for meter Object Generation

iecba09b  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(68)
  • I have searched the issues of this repository and believe that this is not a duplicate.

Describe the proposal

Code Reconstruction for Index Object Generation
Try to reconstruct the Dubbo indicator module to correct the counter type Guage that only increases but does not decrease as Counter,
When generating an indicator count object, directly obtain the indicator count object from the output indicator implementation. For example, we now use Micrometer to extend, transform, and output indicator statistics. If we need an indicator count object that only increases but does not decrease, the counter object in the statistics object needs to be obtained through the registry of Micrometer

指标对象生成的代码重构
尝试重构Dubbo指标模块纠正只增不减的计数器类型Guage为Counter,
在指标计数对象生成的时候直接从所输出的指标实现中获取指标统计对象,比如我们现在使用Micrometer来扩展实现指标统计,转换,输出,如果需要一个只增不减的指标统计对象时,统计对象中的counter对象需要借助Micrometer的注册表来获取到

相关问题