• EnglishEspañol日本語한국어Português
  • Log inStart now

Alert conditions

An alert condition is the core element that defines when an incident is created. It acts as the essential starting point for building any meaningful alert. Alert conditions contain the parameters or thresholds met before you're informed. They can mitigate excessive alerting or tell your team when new or unusual behavior appears.

The Alert conditions list page is the universal hub for all your alert conditions.

Create a new alert condition

An alert condition is a continuously running query that measures a given set of events against a defined threshold and opens an incident when the threshold is met for a specified window of time.

This example demonstrates manually creating a new alert condition using the Alert condition details page. But there are a lot of ways to create an alert condition. You can create an alert condition from:

You can also use one of our alert builders:

  • Use Write your own query to build alerts from scratch
  • Use guided mode

For all methods except for our guided mode, the process for creating an alert condition will be exactly the same as described in the steps below.

Set your signal behavior

In this example, imagine that your team manages the WebPortal application for an ecommerce site. You want to be alerted of any latency issues.

To create a new alert condition:

Fine-tune advanced signal settings

After you've defined your signal, click Run. A chart will appear and display the parameters that you've set.

For this example, the chart will show the average pageviews for your WebPortal application. Click Next and begin configuring your alert condition.

For this example, you will customize these advanced signal settings for the condition you created to monitor an unusual activity for pageviews in your WebPortal application.

Set thresholds for alert conditions

If an alert condition is a container, then thresholds are the rules each alert condition must follow. As data streams into your system, the alert condition searches for any incidents of these rules. If the alert condition sees data from your system that has met all the conditions you've set, it will create an incident. An incident signals that something is off in your system, and you should look.

Add alert condition details

At this point in the process, you now have a fully defined condition and set all the rules to ensure an incident is opened when you want it to be. Based on the settings above, if your alert condition recognizes this behavior in your system that breaches the thresholds that you've set, it will create an incident. Now, all you need to do is to name this condition and attach it to a policy.

The policy is the sorting system for the incident. When you create a policy, you create the tool that organizes all your incoming incidents. You can connect policies to workflows that tell New Relic where you want all this incoming information to go, how often you want it to be sent, and where.

Edit or improve an existing alert condition

If you want to edit an alert condition you've already created, you can:

  1. Go to one.newrelic.com > All capabilities > Alerts & AI.
  2. Select Alert Conditions in the left navigation.
  3. Click on the alert condition you want to edit.

From there, you will see the Alert conditions details page. This page contains all the elements you set when you created your condition. You can edit specific aspects of the alert condition by clicking the pencil in the top right of each section.

Signal history

Under Signal history, you can see the most recent results for the NRQL query you used to create your alert condition. For this example, you would see the average pageviews on the WebPortal app for the specific time frame you've set.

For all alert conditions built with NRQL queries, the Signal history will be presented with a line chart.

Any alert condition built with a synthetic monitor will be a bit different. This is because synthetic monitors allow you to ping your application from multiple locations, which can produce positive or negative results each time the monitor runs. This data can only be presented with a table.

Troubleshoot

If you see an empty signal in the history chart, consider one of the following:

  • Review the condition's settings: Double-check that all elements are configured correctly.
  • Inspect NRQL queries: Ensure they target valid metrics or events and return data.
  • Examine entity configuration: Confirm that the entity is set up correctly to send signals.
  • Consult New Relic documentation: Refer to relevant guides for assistance with specific issues.

What's next?

Create your first New Relic alert

A crash course in alerts for beginners

Start here

Advanced alert conditions

If you've already set up your alert conditions, dig deeper with advanced settings

Get notified

Use workflows to get notified about any unusual behavior in your stack

Copyright © 2024 New Relic Inc.

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