Reference Guide: newrelic-opentelemetry-examples
Reference Guide: OpenTelemetry Data Collector
- NEW_RELIC_API_KEY=your-key docker-compose -f nr-config/docker-compose.yaml up
- make sure to export OTEL_EXPORTER_OTLP_ENDPOINT=localhost:4317 and set ENV accordingly
- start the go application
- make requests to test logging and errors: curl "http://localhost:8080/order"




