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 | e2938888701f252b2a7cbfef348f5eadfb2538a3 (patch) | |
| tree | c6e7c249b02ec59c11cbe5600813692d735fb55e /src/api/stats.rs | |
| parent | ceb4a494cca68d9275b85ba66917f4ccdb570bdb (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) |
