def METHOD_NAME(request, namespace, metric_dict) -> Dict:
    """Get pod metrics and write them to a json"""
    metrics = get_pod_metrics(request, namespace)
    metric_dict[f"{request.node.name}+{time.time()}"] = metrics
    write_to_json(f"pod-metrics-{get_test_file_name(request.node.fspath)}.json", metric_dict)
    return metrics