class_docstr: Base class of system metrics monitor.
docstr: Method to collect metrics.
  
  Subclass should implement this method to collect metrics and store in `self._metrics`.
code: def collect_metrics(self):
      """Method to collect metrics.
  
      Subclass should implement this method to collect metrics and store in `self._metrics`.
      """
      pass
  
file_path: mlflow/mlflow/system_metrics/metrics/base_metrics_monitor.py
imports: import abc
  from collections import defaultdict
label_desc: Use image node_id 2 for calling the BaseMetricsMonitor obj's underlying member method code with example usage: obj.collect_metrics() without return types