The change tracking feature allows you to track the effect of various changes on your customers and systems. For example, if you make some deployments, you can use the change tracking feature to monitor the results in New Relic UI charts. You'll also get access to features that help you understand the effects of those changes.
Instead of designating which changes you want to monitor by using our CLI or a CI/CD integration, you can do the same thing using GraphQL mutations and queries via our NerdGraph API.
For general information on using NerdGraph, see Introduction to NerdGraph. If you haven't already, create your free New Relic account below to start monitoring your data today.
- NerdGraph requirements
- User permissions: Any user type can use NerdGraph to create deployment markers and track other changes, but only full platform users can access the curated change tracking UI experiences.
The fields you'll use in your GraphQL queries fall into these general types:
To record a change, such as a deployment, you'll need to include the required fields, and then decide if you want to include any optional fields.
Here are some example GraphQL mutations that show some ways to create deployment markers:
After you've used mutations to designate the changes you want to track, you can analyze the effect of those changes in the New Relic UI: