diff options
author | Yureka <yuka@yuka.dev> | 2024-03-04 19:58:32 +0100 |
---|---|---|
committer | Yureka <yuka@yuka.dev> | 2024-03-07 12:45:33 +0100 |
commit | c1769bbe69f723fb3980cf4fdac7615cfb782720 (patch) | |
tree | e623904bbdc861b42039057d6a1e982486fc60b4 /src/rpc/system_metrics.rs | |
parent | 8f86af52ed917bce506989ae1f378d977aa6c3ef (diff) | |
download | garage-c1769bbe69f723fb3980cf4fdac7615cfb782720.tar.gz garage-c1769bbe69f723fb3980cf4fdac7615cfb782720.zip |
ReplicationMode -> ConsistencyMode+ReplicationFactor
Diffstat (limited to 'src/rpc/system_metrics.rs')
-rw-r--r-- | src/rpc/system_metrics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/system_metrics.rs b/src/rpc/system_metrics.rs index 0bb55bf3..a64daec8 100644 --- a/src/rpc/system_metrics.rs +++ b/src/rpc/system_metrics.rs @@ -68,7 +68,7 @@ impl SystemMetrics { let replication_factor = system.replication_factor; meter .u64_value_observer("garage_replication_factor", move |observer| { - observer.observe(replication_factor as u64, &[]) + observer.observe(replication_factor.replication_factor() as u64, &[]) }) .with_description("Garage replication factor setting") .init() |