preview
We're still working on this feature, but we'd love for you to try it out!
This feature is currently provided as part of a preview program pursuant to our pre-release policies.
Predictive Alerts in New Relic uses historical data to build models that predict when a static threshold is going to be breached. You can specify how far into the future you want to predict, providing flexibility in your alerting strategy. When a value is predicted to reach the static threshold within the future window you have set, a predictive alert event triggers with the event title prefix Prediction:, allowing you to take corrective measures before potential disruptions occur.
Tip
New Relic currently uses the Holt-Winters model for predicting, which supports hourly, daily, and weekly seasonal patterns and trends in your data.
To enable Predictive Alerts, enable NRQL Predictions (Now in public preview), which provides the query functionality required for evaluation of predictive thresholds. The NRQL Predictions and Predictive Alerts features are available only to Advanced Compute customers. To enroll, navigate to one.newrelic.com > Administration > Preview & Trials, and enable NRQL Predictions and Predictive Alerts features.
Set predictive threshold for an alert condition
To set or update an alert condition with the predictive capability, follow these steps:
Edit or set up a new alert condition
To edit an existing alert condition:
- Select an alert condition from one.newrelic.com > All capabilities > Alerts > Alert Conditions, and edit the Signal behavior.
- From the Signal behavior section, click Edit. The Set thresholds page opens.
To set up a new alert condition:
- Go to one.newrelic.com > All capabilities > Alerts > Alert Conditions.
- Click + New alert condition > Use guided mode. You can also write a NRQL query to create an alert condition.
- If you are using the guided mode, follow the on-screen instuctions till you are at the Set thresholds section. If you are writing a NRQL query, run the query to get the data on the chart, and click Next to get to the Set thresholds section.
Set static thresholds
Under the Set condition thresholds section of the Set thresholds page, set a static threshold as follows:
- Select Static.
- Select severity level for the alert condition.
- Set the threshold value.
Set predictive threshold
Under Set condition thresholds section, enable the Predict future behavior toggle.
Set a look-ahead time for the predictive threshold. This is how far you want to look into the future to predict the threshold breach.
- Minimum look-ahead time: Two times of the window duration.
- Maximum look-ahead time: 360 times of the window duration.
Tip
To look further ahead into the future, you can increase the window duration.Tip
When the window duration is set to 1 minute, the model utilizes historical data from the past 2.5 days to generate predictions. To increase the span of the historical data for model processing, you can increase the window duration.
Set the predicted alert event behavior, when the actual signal crosses the threshold.
Close predicted alert event and open an actual alert event (recommended).
Continue to keep the predicted alert event open.
one.newrelic.com > All capabilities > Alerts > Alert Conditions: Predict future behavior.
Tip
By selecting the Close predicted alert event and open one for the occurring event. option, you can distinguish between predicted and actual alert events.
Save conditions
Refer Add alert condition details to complete the alert condition setup, and then save it.
Post-promotion behavior
As the Predictive capability feature is in public preview, it is available for a limited promotion period. After this period ends, the following changes occur in alerts:
- Predictive alert events are no longer available in the UI.
- Alert conditions are re-registered with only the static portion of the threshold. This re-registration resets the aggregation window, potentially delaying alert detection if a condition's threshold is breached during the process.