New Relic K6 integration

@mstoykov
I have generated the NR_API_KEY.
I have the NR_ACCOUNT_ID.

Trying to understand what should be the hostname in the below command? Can you please help ?

I tried with one.newrlic.com. But getting error as no host found.

docker run
-d --restart unless-stopped
–name newrelic-statsd
-h $(hostname)
-e NR_ACCOUNT_ID=
-e NR_API_KEY=""
-p 8125:8125/udp
newrelic/nri-statsd:latest

I am not familiar with NewRelic or even StatsD, but why do you need to give a hostname to the docker container at all? It should bind to localhost by default, right? And this is what the k6 StatsD output also expects by default: https://k6.io/docs/results-visualization/statsd