You will need to enable it first in your tenant in Settings → Monitored technologies:
It is disabled by default. After enabling, your oneagents will listen on tcp and udp ports for the statsd and metric pipe data. Ports are 14499/tcp (metric pipe / line protocol) and 18125/udp (statsd).