I have instrumented the code to generate traces and print them in the terminal. Now, how do I receive them in OpenTelemetry Collector to export them to NewRelic? Language used: Golang
As per the New Relic Docs you can simply configure the OTLP gRPC exporter in Go code with https://otlp.nr-data.net as endpoint. Also API Key in header.
Or
You can use an Opentelemetry collector running as a separate service with NewRelic as exporter. sample config