File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -840,6 +840,12 @@ def storage() -> RowPanel:
840
840
create_heatmap_panel (
841
841
"tycho_storage_cell_in_mem_store_time" , "Time to store cell without write"
842
842
),
843
+ create_heatmap_quantile_panel (
844
+ "tycho_storage_split_block_available_permits" ,
845
+ "Split block available permits" ,
846
+ UNITS .NUMBER_FORMAT ,
847
+ "0.999" ,
848
+ ),
843
849
create_heatmap_panel (
844
850
"tycho_storage_batch_write_time" , "Time to write merge in write batch"
845
851
),
Original file line number Diff line number Diff line change @@ -1032,6 +1032,9 @@ impl BlockStorage {
1032
1032
self . db . rocksdb ( ) . write ( batch) ?;
1033
1033
1034
1034
// Start splitting block data
1035
+ metrics:: histogram!( "tycho_storage_split_block_available_permits" )
1036
+ . record ( self . split_block_semaphore . available_permits ( ) as f64 ) ;
1037
+
1035
1038
let permit = self . split_block_semaphore . clone ( ) . acquire_owned ( ) . await ?;
1036
1039
let _handle = self . spawn_split_block_data ( & id. block_id , data, permit) ;
1037
1040
You can’t perform that action at this time.
0 commit comments