I am facing an weird issue while integrating New Relic and K6. I am able to execute the below docker command successfully.
-d --restart unless-stopped
Where NR_ACCOUNT_ID is my NR account ID and NR_API_KEY is my API Key. I have copied both account id and api key from NR by navigating MyAccount → API Keys. I generated INGEST_LICENSE type key.
When I execute my K6 script with the below command
k6 run --out statsd /.js
I don’t see the metrics in my NR.
I tried to execute “docker logs newrelic-statsd” command and I see the error message “time=“2021-07-15T07:51:58Z” level=warning msg="[newrelic] failed to send, sleeping for 3.744768988s: received bad status code 403”. I am sure its related to NR account and key issue. But I couldn’t resolve/find any solution. Can someone help?
Below is my account info.
NOTE: I am using Mac OS and I unable to attach the snapshots here.