aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/lib.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-01-26 15:30:36 +0100
committerAlex Auvolat <alex@adnab.me>2023-01-26 15:30:36 +0100
commitc7d0ad0aa0e492b913c5dda8ff1a7ad5a579fb3a (patch)
tree77a3bab6c1a68ace9591ea737274c3a47b0a690b /src/rpc/lib.rs
parentefb6b6e868be1be0725125485810ce96e74ed124 (diff)
downloadgarage-c7d0ad0aa0e492b913c5dda8ff1a7ad5a579fb3a.tar.gz
garage-c7d0ad0aa0e492b913c5dda8ff1a7ad5a579fb3a.zip
Add local disk usage to exported prometheus metricsreport-disk-usage
Diffstat (limited to 'src/rpc/lib.rs')
-rw-r--r--src/rpc/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpc/lib.rs b/src/rpc/lib.rs
index a8cc0030..5aec92c0 100644
--- a/src/rpc/lib.rs
+++ b/src/rpc/lib.rs
@@ -3,6 +3,9 @@
#[macro_use]
extern crate tracing;
+mod metrics;
+mod system_metrics;
+
#[cfg(feature = "consul-discovery")]
mod consul;
#[cfg(feature = "kubernetes-discovery")]
@@ -13,9 +16,6 @@ pub mod replication_mode;
pub mod ring;
pub mod system;
-mod metrics;
pub mod rpc_helper;
pub use rpc_helper::*;
-
-pub mod system_metrics;