proxmox-backup/proxmox-rrd/src/lib.rs

22 lines
538 B
Rust
Raw Normal View History

2021-10-06 10:19:54 +00:00
//! # Simple Round Robin Database files with fixed format
//!
//! ## Features
//!
//! * One file stores a single data source
//! * Small/constant file size (6008 bytes)
//! * Stores avarage and maximum values
//! * Stores data for different time resolution ([RRDTimeFrameResolution](proxmox_rrd_api_types::RRDTimeFrameResolution))
pub mod rrd;
2021-10-06 05:06:17 +00:00
mod cache;
pub use cache::*;
2021-10-06 10:19:54 +00:00
/// RRD data source tyoe
pub enum DST {
/// Gauge values are stored unmodified.
Gauge,
/// Stores the difference to the previous value.
Derive,
}