New Relic exporter (via OTLP)
Configure the New Relic exporter for metrics
Enable and configure the OTLP exporter for metrics in the Apollo Router for use with New Relic.
For general tracing configuration, refer to Router Metrics Configuration.
New Relic configuration
To configure the router, enable the OTLP exporter and set temporality: delta
, endpoint: <new-relic-endpoint>
and api-key: <new-relic-api-key>
. For example:
router.yaml
telemetry:exporters:metrics:otlp:enabled: true# Temporality MUST be set to delta. Failure to do this will result in incorrect metrics.temporality: delta# Endpoint for your region.endpoint: <new-relic-endpoint>protocol: grpcgrpc:metadata:"api-key":- <new-relic-api-key>
ⓘ NOTE
You must set temporality: delta
, otherwise metrics will not be visible in New Relic.
For more details about New Relic configuration, see New Relic's docs on OpenTelemetry configuration.