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 metrics configuration, refer to Router Metrics Configuration.

New Relic configuration

To configure the , 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: true
protocol: 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/metrics
grpc:
metadata:
api-key:
- "<new-relic-api-key>"

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