Join us from October 8-10 in New York City to learn the latest tips, trends, and news about GraphQL Federation and API platform engineering.Join us for GraphQL Summit 2024 in NYC
Docs
Start for Free

New Relic exporter (via OTLP)

Configure the New Relic exporter for metrics


Enable and configure the OTLP exporter for metrics in the or for use with New Relic.

For general tracing configuration, refer to Router Metrics Configuration.

New Relic configuration

To configure the , 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: grpc
grpc:
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.

Previous
Dynatrace
Next
OTLP
Rate articleRateEdit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc., d/b/a Apollo GraphQL.

Privacy Policy

Company