• /
  • EnglishEspañolFrançais日本語한국어Português
  • Inicia sesiónComenzar ahora

Track changes using NerdGraph

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 via our NerdGraph API.

For general information on using NerdGraph, see Introduction to NerdGraph.

Prerequisites

  • NerdGraph requirements
  • User permissions: Any user type can use NerdGraph to create change events and deployment markers, but only full platform users can access the curated change tracking UI experiences

Use change tracking events to monitor any modification to your system, including deployments, feature flags, business events, operational changes, or custom activities.

This method offers several benefits:

  • Flexible data: Add custom attributes, categories, and types to your events.
  • Broad visibility: You get a unified view of changes across all your accounts.
  • Easy to use: You don't need to know an entity.guid. This feature is powered by New Relic's flexible entity search.

To create an event, use the changeTrackingCreateEvent NerdGraph mutation. The events are stored in NRDB as changeTrackingEvent event type.

Sample mutations

The following examples show NerdGraph mutations, with their required and optional attributes, for creating tracking markers:

Use case examples for change tracking events

Here are example GraphQL mutations for creating change tracking events:

Standard categories and types

Change tracking deployments provide specialized tracking for code deployments and infrastructure changes. This is the legacy method that focuses specifically on deployment events. You can create deployment markers using the changeTrackingCreateDeployment mutation. These markers are stored in NRDB as Deployment event type.

Sugerencia

New Relic recommends migrating to change tracking events using changeTrackingCreateEvent for better flexibility and feature support. Deployment markers will continue to work but have limited functionality compared to change events.

Deployment mutation examples

The examples below show how to create deployment markers using the legacy API:

What's next

View and analyze changes

Learn advanced techniques for correlating change data with performance metrics and system behavior.

Query your changes

Learn how to query your change data in New Relic.

Notify your team

Learn how to set up notifications for your change tracking events.

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.