aboutsummaryrefslogtreecommitdiff
path: root/src/block/manager.rs
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2023-01-11 16:00:31 +0000
committerAlex <alex@adnab.me>2023-01-11 16:00:31 +0000
commitbe6b8f419d71640e64bccfe195a573daeeab2263 (patch)
tree7274359a6c9203ad711287c0e98a23b0001bc570 /src/block/manager.rs
parent02e8eb167efa1f08d69fe7f8e6192cde726c45aa (diff)
parent4cfb469d2bcce5bd41fe0af0022b34716ac7279a (diff)
downloadgarage-be6b8f419d71640e64bccfe195a573daeeab2263.tar.gz
garage-be6b8f419d71640e64bccfe195a573daeeab2263.zip
Merge pull request 'Implemented system metrics' (#472) from jpds/garage:system-metrics into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/472 Reviewed-by: Alex <alex@adnab.me>
Diffstat (limited to 'src/block/manager.rs')
-rw-r--r--src/block/manager.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/block/manager.rs b/src/block/manager.rs
index 1655be06..051a9f93 100644
--- a/src/block/manager.rs
+++ b/src/block/manager.rs
@@ -129,8 +129,12 @@ impl BlockManager {
.netapp
.endpoint("garage_block/manager.rs/Rpc".to_string());
- let metrics =
- BlockManagerMetrics::new(rc.rc.clone(), resync.queue.clone(), resync.errors.clone());
+ let metrics = BlockManagerMetrics::new(
+ compression_level,
+ rc.rc.clone(),
+ resync.queue.clone(),
+ resync.errors.clone(),
+ );
let scrub_persister = PersisterShared::new(&system.metadata_dir, "scrub_info");