forked from GreptimeTeam/greptimedb
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(metrics): RowGroupLastRowCachedReader metrics (GreptimeTeam#4418)
fix/reader-metrics: Refactor cache hit/miss logic and update metrics in mito2 - Simplify cache retrieval logic in CacheManager by removing inline update_hit_miss function call. - Add separate functions for incrementing cache hit and miss metrics. - Update RowGroupLastRowCachedReader to use new cache hit/miss functions and refactor to new helper methods for creating Hit and Miss variants.
- Loading branch information
Showing
2 changed files
with
39 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters