This doc applies to accounts on our New Relic One pricing plan. If you're on our original product-based pricing plan, see Original data retention. Not sure which you're on? See Overview of pricing and account/user structure.
Review and manage how long your data will be stored in the New Relic database (NRDB) on the Data retention page. You can also review the sources of data that you’re storing, when they were last updated, and the length the data is stored.
The ability to edit data retention periods differs depending on your pricing tier:
- Standard tier: your data retention is fixed, and falls between 8 and 395 days (about 13 months) of retention, depending on which capabilities of the New Relic platform you’re using. The prescribed retention levels ensure that you can explore your data and experience the value of New Relic. If you need to raise some of the retention limits for your particular business needs, you can purchase additional retention.
Pro and Enterprise tier: users with a Billing user or Data retention manager role can change the retention periods for each data type. On the Data retention page, select the Edit retention button to manually change the number of days you want to store each type of retention.
|Source||Event namespace||Days retained|
|Browser||Browser JS errors||8|
|Browser||Browser page view timing||8|
|Custom events||Custom events||30|
|Infrastructure||Infrastructure integrations||395 (13 months)|
|Mobile||Mobile crash event trails (breadcrumb)||8|
Metric data rollup
Metric timeslice data is generated by APM (both custom metrics and out-of-the-box metrics), Mobile, and Browser agents. MTS data is aggregated first to 1-minute rollups retained for 8 days, then aggregated to 1-hour roll-ups for 90 days, with key metric data in turn being stored indefinitely. We meter on the size of the initial 1-minute rollup, not on any of the subsequent rollups. Read on to learn the key metrics by product.
Key metrics reported by APM, Browser, and Mobile
Here are the key metrics that are stored indefinitely.
Metric raw data
Metric raw data, from APM, Prometheus remote-write API, metrics functionality of the Telemetry SDK, and integrations built on the Telemetry SDK, is handled a little differently. Raw sub-minute metric data is stored for 30 days. Beyond 30 days, 1-minute resolution roll-up events are created and retained for 13 months. As with Metric timeslice data, we meter and bill on the size of the raw ingest, not the subsequent rollups.
Metric retention periods are not editable.
For organizations that have master/sub-account structures, data retention is inherited by a master account's sub-accounts. If a sub-account has its own retention settings, those override settings inherited from the master account.
Once telemetry data (events, metrics, logs, traces) is reported to New Relic and available for querying, that data cannot be edited or deleted. This is a purposeful design decision that optimizes New Relic's speed and performance. Data will expire after its data retention ends.
Original pricing plan differences
If you're on our original product-based pricing plan, you have different data retention rules. See Original data retention.