From ed01419768493074abaa372562519bc240e5c9cd Mon Sep 17 00:00:00 2001 From: Richard Chien Date: Thu, 10 Oct 2024 20:40:25 +0800 Subject: [PATCH] collect metric info Signed-off-by: Richard Chien --- src/stream/src/executor/over_window/general.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/stream/src/executor/over_window/general.rs b/src/stream/src/executor/over_window/general.rs index 96e6d87c19977..e30bcd425a68a 100644 --- a/src/stream/src/executor/over_window/general.rs +++ b/src/stream/src/executor/over_window/general.rs @@ -415,6 +415,12 @@ impl OverWindowExecutor { metrics .over_window_range_cache_right_miss_count .inc_by(stats.right_miss_count); + metrics + .over_window_compute_count + .inc_by(stats.compute_count); + metrics + .over_window_same_result_count + .inc_by(stats.same_result_count); // Update recently accessed range for later shrinking cache. if !this.cache_policy.is_full()