jerryshao commented on code in PR #12946:
URL: https://github.com/apache/gravitino/pull/12946#discussion_r3954850530
##########
core/src/main/java/org/apache/gravitino/metrics/source/MetricsSource.java:
##########
@@ -108,11 +95,7 @@ public Counter getCounter(String name) {
*/
public Histogram getHistogram(String name) {
return this.metricRegistry.histogram(
- name,
- () ->
- new Histogram(
- new SlidingTimeWindowArrayReservoir(
- getTimeSlidingWindowSeconds(), TimeUnit.SECONDS)));
+ name, () -> new Histogram(new ExponentiallyDecayingReservoir()));
Review Comment:
@/private/tmp/claude-501/-Users-jerryshao-Projects-gravitino--claude-worktrees-gravitino-pr-review-14ee80/8a811e98-3cb8-4b06-bdf5-5c3678d52a73/scratchpad/review_reply.md
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]