Get the metrics from the metrics.json file in the given directory; a key is added for the directory name.
directory (Path) –
Path
Dict[str, Any]
Dict
str
Any