Add rounding to archiver avg stat calculation

This commit is contained in:
Christoph Kluge
2025-02-24 11:10:45 +01:00
parent 998ef8d834
commit 633bd42036
2 changed files with 3 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ func RegisterFootprintWorker() {
}
}
// Add values rounded to 2 digits
// Add values rounded to 2 digits: repo.LoadStats may return unrounded
jobMeta.Statistics[metric] = schema.JobStatistics{
Unit: schema.Unit{
Prefix: archive.GetMetricConfig(job.Cluster, metric).Unit.Prefix,