aboutsummaryrefslogtreecommitdiff
path: root/src/block/manager.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-13 15:54:03 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-13 15:54:03 +0100
commit041b60ed1dc48563ad297a6a30230655555c9a20 (patch)
tree3dfa2f0d429d7330bcadc57d7fbaad2317858279 /src/block/manager.rs
parentf8d5409894d09903588cf3e9ae5ab64aab55d749 (diff)
downloadgarage-041b60ed1dc48563ad297a6a30230655555c9a20.tar.gz
garage-041b60ed1dc48563ad297a6a30230655555c9a20.zip
Add block.rc_size, table.size and table.merkle_tree_size metrics
Diffstat (limited to 'src/block/manager.rs')
-rw-r--r--src/block/manager.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/block/manager.rs b/src/block/manager.rs
index c23d7a59..28523a93 100644
--- a/src/block/manager.rs
+++ b/src/block/manager.rs
@@ -123,7 +123,8 @@ impl BlockManager {
.netapp
.endpoint("garage_block/manager.rs/Rpc".to_string());
- let metrics = BlockManagerMetrics::new(resync.queue.clone(), resync.errors.clone());
+ let metrics =
+ BlockManagerMetrics::new(rc.rc.clone(), resync.queue.clone(), resync.errors.clone());
let (scrub_tx, scrub_rx) = mpsc::channel(1);