Move metrics gathering paragraph after code block