Syntax error on DataDog integration with k6

How can I modify this command:
“docker run --rm -i grafana/k6-for-sql run - <tests/add-article.js --insecure-skip-tls-verify”
so it could send data to DataDog?

Hi @kkk1

Did you have a look at the DataDog output documentation? Once you run through all the configuration, you can execute if you were running the k6 binary you would execute:

K6_STATSD_ENABLE_TAGS=true k6 run --out statsd script.js

For docker, you will need to pass the environment variables, similar to Running tests in docker having issue - #2 by simme.

I hope this helps.