]> git.proxmox.com Git - proxmox-backup.git/commit
metric collection: put metrics in a cache
authorLukas Wagner <l.wagner@proxmox.com>
Tue, 15 Oct 2024 08:46:35 +0000 (10:46 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 15 Oct 2024 12:09:41 +0000 (14:09 +0200)
commitda12adb1f9d1544b6797b9f350ec8270aa739ef6
tree0fa53cfd2a9a657106b3bb4be2c46454829dba88
parent20753e1b53109ea0c1cfba806b29fb749d3edf58
metric collection: put metrics in a cache

Any pull-metric API endpoint can alter access the cache to
retrieve metric data for a limited time (30mins).

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
src/server/metric_collection/mod.rs
src/server/metric_collection/pull_metrics.rs