New Relic exporter (via OTLP)
Configure the New Relic exporter for tracing
Enable and configure the OTLP exporter for tracing in the Apollo Router for use with New Relic.
For general tracing configuration, refer to Router Tracing Configuration.
New Relic configuration
To configure the router, enable the OTLP exporter and set both endpoint: <new-relic-endpoint>
and api-key: <new-relic-api-key>
. For example:
router.yaml
telemetry:exporters:tracing:otlp:enabled: true# Endpoint for your region.endpoint: <new-relic-endpoint>protocol: grpcgrpc:metadata:"api-key":- <new-relic-api-key>
For more details about New Relic configuration, see New Relic's docs on OpenTelemetry configuration.