File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,10 @@ impl Metrics {
9898 self . crater_completed_jobs_total
9999 . remove_label_values ( & [ experiment] ) ?;
100100
101+ // Clear out all values from the progress report to avoid indefinitely retaining experiment
102+ // metrics.
103+ self . crater_progress_report . reset ( ) ;
104+
101105 Ok ( ( ) )
102106 }
103107
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ impl DiskUsage {
1212 let stat = nix:: sys:: statvfs:: statvfs ( & path) ?;
1313 let available = stat. blocks_available ( ) ;
1414 let total = stat. blocks ( ) ;
15- info ! ( "{available} / {total} blocks used in {path:?}" ) ;
15+ info ! ( "{available} / {total} blocks available in {path:?}" ) ;
1616
1717 Ok ( Self {
1818 usage : 1.0 - available as f32 / total as f32 ,
You can’t perform that action at this time.
0 commit comments