forked from Proxmox/proxmox
rrd: deprecate create_pbs_default_rrd
This one should be in the client code. Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
846e85ed2e
commit
4ca2e01442
@ -103,7 +103,10 @@ impl Cache {
|
||||
/// * cf=maximum,r=7*86400,n=570 => 10year
|
||||
///
|
||||
/// The resulting data file size is about 80KB.
|
||||
#[deprecated(note="Implement in client code")]
|
||||
pub fn create_proxmox_backup_default_rrd(dst: DataSourceType) -> Database {
|
||||
use crate::rrd::Archive;
|
||||
|
||||
let rra_list = vec![
|
||||
// 1 min * 1440 => 1 day
|
||||
Archive::new(AggregationFn::Average, 60, 1440),
|
||||
|
Loading…
x
Reference in New Issue
Block a user