New Relic exporter (via OTLP)
Configure the New Relic exporter for metrics
Enable and configure the OTLP exporter for metrics in the GraphOS Router or Apollo Router Core for use with New Relic.
For general metrics configuration, refer to Router Metrics Configuration.
New Relic configuration
To configure the router, enable the OTLP exporter with temporality: delta
and the appropriate endpoint and New Relic API key.
ⓘ NOTE
For New Relic, temporality: delta
must be set and the value of the endpoint
must end with /v1/metrics
. The example below uses a common default for New Relic. Check your New Relic account to verify the correct value as the actual domain may vary by region.
For example:
router.yaml
telemetry:exporters:metrics:otlp:enabled: trueprotocol: grpc# Temporality MUST be set to delta. Failure to do this will result in incorrect metrics.temporality: delta# Ensure the endpoint provided ends with "/v1/metrics"# Be sure to use the correct URL for your region.endpoint: https://otlp.nr-data.net:4317/v1/metricsgrpc:metadata:api-key:- "<new-relic-api-key>"
For more details about New Relic configuration, see New Relic's docs on OpenTelemetry configuration.