Skip to content

Commit

Permalink
collect metric info
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <[email protected]>
  • Loading branch information
stdrc committed Oct 10, 2024
1 parent a5a1b29 commit ed01419
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/stream/src/executor/over_window/general.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,12 @@ impl<S: StateStore> OverWindowExecutor<S> {
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()
Expand Down

0 comments on commit ed01419

Please sign in to comment.