Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.6.0, 0.5.1
Description
`addCounter`, `addGauge` and `addTimer` of `AbstractSource` checks whether the metric key exist via `MetricRegistry#getMetrics` which iterates all metrics and put into map at present. It causes that adding counter of active connection count metric for application dimension would increase high CPU utilization when there are many active connections. Refactor `addCounter`, `addGauge` and `addTimer` of `AbstractSource` to reduce CPU utilization.
Attachments
Issue Links
- links to