For some New Relic solutions, one way to report custom data to New Relic is to use custom attributes. For example, for New Relic browser monitoring, you might create a custom attribute to track the user name associated with a slow or failing request.
Custom attributes are available for these New Relic solutions:
- Browser monitoring
- Mobile monitoring
- Infrastructure monitoring
For other custom data solutions, see Intro to custom data.
Review the list of reserved terms used by NRQL. Using reserved terms can cause issues.
To enable and use custom attributes for APM, follow the procedure for your APM agent:
Our Infrastructure monitoring lets you create custom attributes that are used to annotate the data from the infrastructure agent. You can use this metadata to build filter sets, group your results, and annotate your data.
Mobile agents include API calls to record custom attributes:
- For an overview of mobile monitoring custom data, see Insert custom events and attributes
- Android method:
- iOS method: