• English日本語한국어
  • Log inStart now

Automatic anomaly detection

Automatic anomaly detection is the easiest way for you and your team to detect and analyze unusual behavior in your system. It does this using the following methods:

  1. Anomaly detection monitors metric data reported by an agent, building a model of your typical application dynamics, and focuses on three key golden signals: throughput, response time, and errors.
  2. If one of these golden signals shows anomalous behavior, the system flags the behavior and tracks recovery to normal behavior.
  3. The system adapts to changes in your data, and continuously updates models based on new data.

Automatically on: By default, anomaly detection monitors all your applications, with no action required by you. When an anomaly is detected, it's automatically surfaced in various activity streams, the applied intelligence anomalies feed and is available for querying via NRQL.

Correlation: Anomalies are connected to our correlation logic, otherwise known as decisions. If our correlation logic determines that issues are connected, then a single issue will be created from multiple incidents. You can see this correlated issue in the issues feed. Anomalies provide additional context about what changed around the time an issue occurred so your team can easily detect patterns and diagnose problems.

Receiving notifications: When New Relic detects anomalous changes in throughput, error rate, or response time, your team has the option to receive notifications about this behavior. We recommend sending notifications to selected Slack channels or email channels. When the anomalous behavior returns to normal then a recovery message is sent. If you don't want to receive notifications you can still access to the data using a NRQL query.

Anomaly analysis: For each anomaly, we provide a link in Slack to an analyze anomaly page. This page generates automatic insights into the anomaly. The page is also available from the anomalies tab, which lists recent anomalies. This page uses your existing and anomaly detection data to provide explanations as to the cause of the anomaly.

Activity stream: Inside various activity streams such as the New Relic homepage, summary page, entity list views, and New Relic Lookout, you'll see relevant anomalies from your APM-monitored applications. Clicking on any of the anomaly events in the activity stream brings up the analysis page for that anomaly.

Applications don't always generate anomalies, so it can be normal to not receive any detections.

Configure anomaly detection

To configure an anomaly detection:

  1. Go to one.newrelic.com > All capabilities > Alerts & AI and click Anomaly detection in the left pane.

  2. Click + Add a configuration.

To see configure an anomaly detection, go to one.newrelic.com > All capabilities > Alerts & AI and click Anomaly detection in the left pane.

  1. Choose a name for your configuration that helps you easily identify it from others in your account.

  2. Select the account you want to use for this configuration.

  3. Select the applications and services you want to include.

  4. Select the metrics you want to be notified on.

  5. Select how you want to be notified. These are the options:

    • Slack. You need to select a Slack channel and the time zone the charts will use.
    • Webhook. You need to add the URL.
    • No notifications. If you prefer not to receive notifications, select this option.
  6. Click Save configuration.

How to see the details of an anomaly

You can explore the details of any anomaly in your system's performance to better understand what errors you're receiving and why.

To see the details of a detected anomaly, go to one.newrelic.com > All capabilities > Alerts & AI. Click the Anomalies tab to see the dashboard and then click the anomaly you want to see.

The details of an anomaly gives you this information:

  • Name of the anomaly. You can click on it and it will take you to APM & Services capability to see a summary of the selected anomaly.
  • Description of the signal.
  • Graphical data by error rate or error count. You can change the frequency.
  • Analysis. See the found attributes, anomalies, and errors to investigate.

If you expand the page, you also can see specific data about the anomaly: metadata, entity, recent activity, and related dashboards.

You can also see all the anomalies related to a configuration:

  1. Go to one.newrelic.com > All capabilities > Alerts & AI and click Anomaly detection in the left pane.

  2. Search the configuration you want to see its anomalies.

  3. Click the icon of the configuration and select View anomalies.

To see the anomalies of a specific configuration, go to one.newrelic.com > All capabilities > Alerts & AI and click Anomaly detection in the left pane.

Anomaly set-up

Once you choose to monitor anomalous behavior in your system using either our custom or automatic anomaly detection, you will need to make sure that your team is notified of any unusual behavior and that you can query and understand your data. It doesn't matter if you choose custom or automatic anomaly detection, the set-up is the same.

Copyright © 2023 New Relic Inc.

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