added option for http collect to retrieve all, oneoff, or repeating measurements