Conversation
d6e600a to
a182180
Compare
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #385 +/- ##
==========================================
- Coverage 63.15% 55.46% -7.70%
==========================================
Files 32 35 +3
Lines 1900 4875 +2975
Branches 204 613 +409
==========================================
+ Hits 1200 2704 +1504
- Misses 600 1886 +1286
- Partials 100 285 +185 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a182180 to
b1325fb
Compare
| REGISTER_GAUGE(failed_egc_task_count, "Number of failed emergent gc tasks"); | ||
| REGISTER_GAUGE(total_reclaimed_space_by_gc, "Total reclaimed space by gc task"); | ||
| REGISTER_GAUGE(total_reclaimed_space_by_egc, "Total reclaimed space by emergent gc task"); | ||
| REGISTER_GAUGE(gc_read_blk_count, "Total read blk count by gc in this pdev"); |
There was a problem hiding this comment.
use REGISTER_COUNTER, then you can use COUNTER_INC(gc_read_blk_count, new_pba.blk_count()
There was a problem hiding this comment.
thanks , done
There was a problem hiding this comment.
Some of other metrics like failed_egc_task_count can be moved to counter as well, but it can be done seperately.
| REGISTER_GAUGE(total_reclaimed_space_by_gc, "Total reclaimed space by gc task"); | ||
| REGISTER_GAUGE(total_reclaimed_space_by_egc, "Total reclaimed space by emergent gc task"); | ||
| REGISTER_COUNTER(gc_read_blk_count, "Total read blk count by gc in this pdev"); | ||
| REGISTER_COUNTER(gc_write_blk_count, "Total writted blk count by gc in this pdev"); |
There was a problem hiding this comment.
done , thanks
4241bd5 to
43aae12
Compare
add two metrics for gc:
gc_read_blk_count : total read blk count in this pdev issued by gc
gc_write_blk_count : total write blk count in this pdev issued by gc
these two metrics are not persisted, which means they will start from 0 if sm restarts