So the error message stays that k6 wasn’t able to connect to the receiver.
By default, the k6’s experimental opentelemetry output tries to connect to local port 4317 and use gRPC for the metrics export. Could you confirm that your datadog agent is configured to support receiving metrics via gRPC on the 4317 port?
From what I’ve seen, it’s not installation; it’s just running the datadog’s agent container. And as far as I can tell, it only exposes port 8125 (it’s usually StatsD port).
I don’t have experience with the configuration of the Datadog agent, but there is a documentation page that probably should help you OTLP Ingestion by the Datadog Agent