Added metrics pull. fixes #370. fixes #380. fixes #366.