adds udp option to metrics emitter