metrics dir may not exist.