[Observability Task] Code Refactor for meter Object Generation
- Dominant language
- Java
- Stars
- 41.6k
- Forks
- 26.4k
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 4
Description
- [ ] I have searched the [issues](https://github.com/apache/dubbo/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的注册表来获取到
Contributor guide
Research direction
The issue names no files or tests; begin by locating Dubbo’s indicator module and the code that generates meter objects, then inspect its Micrometer integration and registry usage. Done means monotonically increasing measurements use a Counter rather than a Gauge, with the intended indicator statistics obtained from the output implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- observability-sre
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100