From 72472131a4bb3798759884da597cfb4ef7793782 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 25 Oct 2026 19:59:14 +0100 Subject: allow to persist document --- src/api/stats.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/api/stats.rs') diff --git a/src/api/stats.rs b/src/api/stats.rs index 8899421..fa11b45 100644 --- a/src/api/stats.rs +++ b/src/api/stats.rs @@ -49,6 +49,8 @@ struct DiskStats { read_bytes: u64, writes: u64, written_bytes: u64, + appends: u64, + appended_bytes: u64, errors: u64, } @@ -220,6 +222,8 @@ async fn collect(state: &AppState) -> StatsResponse { read_bytes: counts.read_bytes, writes: counts.writes, written_bytes: counts.written_bytes, + appends: counts.appends, + appended_bytes: counts.appended_bytes, errors: counts.errors, }; (kind.as_str(), stats) -- cgit v1.3.1