mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-31 09:18:28 +00:00
scanner status command(1)
Signed-off-by: mujunxiang <1948535941@qq.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
use std::collections::HashMap;
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::metrics::TimedAction;
|
||||
|
||||
#[derive(Clone, Debug, Default, Serialize, Deserialize, PartialEq, Eq)]
|
||||
pub struct DiskMetrics {
|
||||
pub last_minute: HashMap<String, TimedAction>,
|
||||
pub api_calls: HashMap<String, u64>,
|
||||
pub total_waiting: u32,
|
||||
pub total_errors_availability: u64,
|
||||
pub total_errors_timeout: u64,
|
||||
pub total_writes: u64,
|
||||
pub total_deletes: u64,
|
||||
}
|
||||
Reference in New Issue
Block a user