You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the InterceptorBase uses SortedMap from API to get hold of a specific metric.
This should be refactored to use the registry method to get appropriate metric type,
such as MetricRegistry.counter(...) instead of MetricRegistry.getCounters(), as the first is implemented without a need for sorting all metrics every time a metric is needed.
This is a performance overhead.
The text was updated successfully, but these errors were encountered:
It seems the
InterceptorBase
usesSortedMap
from API to get hold of a specific metric.This should be refactored to use the registry method to get appropriate metric type,
such as
MetricRegistry.counter(...)
instead ofMetricRegistry.getCounters()
, as the first is implemented without a need for sorting all metrics every time a metric is needed.This is a performance overhead.
The text was updated successfully, but these errors were encountered: