def METHOD_NAME(
    self, server_round: int, metrics: Dict[str, Scalar]
) -> None:
    """Add metrics entries (from distributed fit)."""
    for key in metrics:
        # if not (isinstance(metrics[key], float) or isinstance(metrics[key], int)):
        #     continue  # ignore non-numeric key/value pairs
        if key not in self.metrics_distributed_fit:
            self.metrics_distributed_fit[key] = []
        self.metrics_distributed_fit[key].append((server_round, metrics[key]))