Change metric->name's memory pool from host->pool to metric->pool.