class_docstr: Class for monitoring disk stats.
class_docstr_tok: ["Class","for","monitoring","disk","stats","."]
code: def aggregate_metrics(self):
      return {
          k: round(sum(v) / len(v), 1) for k, v in self._metrics.items()
      }
  
imports: import os
  import psutil
  from mlflow.system_metrics.metrics.base_metrics_monitor import BaseMetricsMonitor
label_desc: Use image node_id 2 for calling the DiskMonitor obj's underlying member method code with example usage: obj.aggregate_metrics() and returns: unknown