For Agent v7.21+ / v6.21+, follow the instructions below to install the Speedtest check on your host. See Use Community Integrations to install with the Docker Agent or earlier versions of the Agent.
Run the following command to install the Agent integration:
Configure your integration similar to core integrations.
Note: For all hosts, you need to install the Speedtest CLI and accept the agreement as the Datadog Agent user prior to use, for example: sudo -u dd-agent speedtest.
Edit the speedtest.d/conf.yaml file, in the conf.d/ folder at the root of your Agent’s configuration directory to start collecting your Speedtest performance data. See the sample speedtest.d/conf.yaml for all available configuration options.