mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-05-28 18:29:50 +00:00
metric collection: move rrd_cache to new metric_collection module
No functional changes intended. Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
b862c872e0
commit
045fc7750c
@ -8,7 +8,7 @@ use proxmox_schema::api;
|
||||
|
||||
use pbs_api_types::{NODE_SCHEMA, PRIV_SYS_AUDIT};
|
||||
|
||||
use crate::rrd_cache::extract_rrd_data;
|
||||
use crate::server::metric_collection::rrd::extract_rrd_data;
|
||||
|
||||
pub fn create_value_from_rrd(
|
||||
basedir: &str,
|
||||
|
@ -15,7 +15,7 @@ use pbs_api_types::{
|
||||
use pbs_config::CachedUserInfo;
|
||||
use pbs_datastore::DataStore;
|
||||
|
||||
use crate::rrd_cache::extract_rrd_data;
|
||||
use crate::server::metric_collection::rrd::extract_rrd_data;
|
||||
use crate::tools::statistics::linear_regression;
|
||||
|
||||
use crate::backup::can_access_any_namespace;
|
||||
|
@ -31,8 +31,6 @@ pub mod acme;
|
||||
|
||||
pub mod client_helpers;
|
||||
|
||||
pub mod rrd_cache;
|
||||
|
||||
pub mod traffic_control_cache;
|
||||
|
||||
/// Get the server's certificate info (from `proxy.pem`).
|
||||
|
@ -16,10 +16,11 @@ use proxmox_sys::{
|
||||
linux::procfs::{Loadavg, ProcFsMemInfo, ProcFsNetDev, ProcFsStat},
|
||||
};
|
||||
|
||||
use crate::{
|
||||
rrd_cache::{initialize_rrd_cache, rrd_sync_journal, rrd_update_derive, rrd_update_gauge},
|
||||
tools::disks::{zfs_dataset_stats, BlockDevStat, DiskManage},
|
||||
};
|
||||
use crate::tools::disks::{zfs_dataset_stats, BlockDevStat, DiskManage};
|
||||
|
||||
use rrd::{initialize_rrd_cache, rrd_sync_journal, rrd_update_derive, rrd_update_gauge};
|
||||
|
||||
pub mod rrd;
|
||||
|
||||
/// Initialize the metric collection subsystem.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user