def METHOD_NAME(self) -> dict:
    disk_paths = list(self.settings._stats_disk_paths or ["/"])
    disk_metrics = {}
    for disk_path in disk_paths:
        try:
            # total disk space in GB:
            total = psutil.disk_usage(disk_path).total / 1024 / 1024 / 1024
            # total disk space used in GB:
            used = psutil.disk_usage(disk_path).used / 1024 / 1024 / 1024
            disk_metrics[disk_path] = {
                "total": total,
                "used": used,
            }
        except Exception as e:  # noqa
            termwarn(f"Could not access disk path {disk_path}: {e}", repeat=False)
    return {self.name: disk_metrics}