New Relic Alerts lets you create customized alerting solutions for monitoring your system. This document contains:
Introduction to important concepts
To use New Relic Alerts well, it will help you to understand some terms we use:
- Alert condition: An alert condition includes 1) a monitored data source and 2) thresholds that define the data source behavior that will be considered a violation. For example, a specific alert condition might be described in this way: "If the response time for any page load in my app goes above 8 seconds and that lasts for more than 5 minutes, that is a violation."
- Threshold: A threshold is part of a condition; it defines the behavior considered a violation. When you create a condition, there is a required critical-level threshold, and optionally you can set a secondary warning-level threshold.
- Violations: A violation occurs when the value of a data source crosses an alert condition's threshold. A violation does not directly generate a notification; violations can lead to incidents, which in turn generate notifications.
- Incidents: Incidents are what generate notifications. At the alert policy-level, you set the incident preference, which determines how violations are handled and combined to generate incidents. For example, you might choose to have every single violation generate an incident (many notifications), or you may choose to have only a single incident open at a time across an entire policy (few notifications). Setting the incident preference gives you power over how notifications are created and helps you prevent alert fatigue.
- Alert policy: An alert policy is a group of one or more alert conditions. A policy has two settings that apply to all of its conditions: incident preference and notification channels.
- Notifications: At the alert-policy level, you choose what team members will get notified when an incident occurs, and via what notification channels.
For in-depth definitions of these and other Alerts terms, see the Alerts glossary.
Now that you understand some basic concepts and terms, let's look at a typical workflow for creating an alert policy and an alert condition attached to that policy:
- Create an alert policy. When you create a policy:
Create an alert condition that will be attached to that policy. Steps involved in creating a condition include:
- Optional: Add more conditions to that same policy.
To learn more about using Alerts:
- Check out the New Relic University tutorial Alert policies. Or, go directly to the full online course New Relic alerting.
- Read Alerts best practices.
- Learn about the New Relic Alerts API.