I’ve gotten my local machine to run k6 and visualize data in datadog using the datadog docker container by following the docs here:
Is there a way to output to datadog if I were to run k6 from a docker container?
I tried running this locally:
docker run --link datadog:datadog -v /src:/src -i loadimpact/k6 run --out datadog /src/script.js
but end up with something like:
time="2020-11-17T20:49:36Z" level=warning msg="Couldn't send 4 out of 58 metrics. Enable debug logging to see individual errors" type=datadog time="2020-11-17T20:49:36Z" level=error msg="Couldn't commit a batch" error="write udp 127.0.0.1:45472->127.0.0.1:8125: write: connection refused" type=datadog