You have used the Trace API to report data but don't see your data in New Relic.
Here are some ideas for troubleshooting missing Trace API-reported data:
- To verify span data has been reported, run a NRQL search in the New Relic One chart builder for the span event just uploaded. You must be in the same New Relic account used to report the trace data (same license key). Example query:
FROM Span SELECT * WHERE trace.id = '123456'
- If rate-limiting issues occur, we will generate an
NrIntegrationErrorevent. Here's a link to run a NRQL query for those events in New Relic One.
If your spans have timestamps, be sure they meet the following guidelines:
- Span timestamps must have occurred within last 20 minutes.
newrelic-format timestamps must be in milliseconds. You can get the current time in milliseconds at currentmillis.com.
zipkin-format timestamps must be in microseconds.
- Timestamps should be in UTC.
- Calls to the endpoint are not idempotent. This means if you send multiple traces with the same
trace.id, it will result in fragmented traces in the UI due to ambiguous trace parent-child data.
- Double check that your payload is valid. For
newrelic-format traces, one issue may be that key-value pairs haven't been placed in the
- Confirm that your trace has a root span (a null
parent.idon one span). Example query:
FROM Span SELECT * WHERE trace.id = '123456' AND parent.id IS NULL
For more on how Trace API data transmission is validated, see Validation.