I am running datadog with -
DOCKER_CONTENT_TRUST=1
docker run -d --network bridge
–name datadog
-v /var/run/docker.sock:/var/run/docker.sock:ro
-v /proc/:/host/proc/:ro
-v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
-e DD_SITE=“datadoghq.com”
-e DD_API_KEY=MY_KEY
-e DD_TAGS=“querytag”
-e DD_DOGSTATSD_NON_LOCAL_TRAFFIC=1
-p 8125:8125/udp
datadog/agent:latest
My Script -
const response = http.post(“url”, query, {
headers: headers,
tags: { querytag: “GetUserQuery” },
});
My Cmd -
K6_STATSD_ENABLE_TAGS=true k6 run -e ENV=staging -e PR=pr-164 --out statsd dist/sanity.spec.js