New Relic mobile monitoring agents support distributed tracing, which lets you see how your mobile app activity connects to related services.
Requirements
Here's what you need to use distributed tracing with New Relic mobile:
- Android agent version 6.0.0 or higher
- XCFramework agent version 7.3.0
Tip
Infinite Tracing is not yet available for mobile monitoring
How to set up distributed tracing
For mobile agents that support this feature, it’s enabled by default.
If you prefer to turn off distributed tracing, see the following:
Find data
Mobile spans appear in any New Relic distributed tracing UI where those spans are part of a trace.
Here are some tips for finding and querying data:
- You can find end-user-originating traces in any New Relic One distributed tracing UI.
- In the distributed tracing UI, end-user spans are indicated with the
icon.
- To see a span's attributes, select a span in the UI.
- Spans are reported as Span data, and can be queried in New Relic.
- Query tips:
- Query by browser app name by setting
mobileApp.name
to the browser app name. - Query for traces containing at least one mobile app span with
mobileApp.name is not null
. - Query for traces containing at least one back-end app with
appName is not null
. - Query for traces containing both mobile and back-end spans by combining the two previous conditions.
- Query by browser app name by setting
Troubleshooting
If you don't see end-user spans, or are having other distributed tracing issues, see Troubleshooting.
For more help
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.