diff options
| author | tv <tv@krebsco.de> | 2026-10-25 19:59:14 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-25 19:59:14 +0100 |
| commit | 72472131a4bb3798759884da597cfb4ef7793782 (patch) | |
| tree | 5f094dfda00da31e1b564cc033ef5f1d24ba89df /src/api/stats.rs | |
| parent | 866924934d635df8a8f222a022f806c44581a5f5 (diff) | |
allow to persist document
Diffstat (limited to 'src/api/stats.rs')
| -rw-r--r-- | src/api/stats.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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) |
