New Relic allows you to collect custom attributes. For example, you can create a custom attribute to track the user name associated with a slow or failing request. This document contains links to docs on how to do this for APM, infrastructure monitoring, browser monitoring, and mobile monitoring.
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: