When you create a condition, you set thresholds that determine what will open a violation. This document explains what thresholds are and how to set them.
What is a threshold?
For a condition, thresholds are the settings that determine what opens a violation. Depending on a policy's incident preference, a violation may result in:
The creation of an incident.
Notifications being sent.
Examples of thresholds:
An application’s average web response time is greater than 5 seconds for 15 minutes.
An application’s error rate per minute hits 10% or higher at least once in an hour.
An application’s AJAX response time deviates a certain amount from its expected baseline behavior.
Besides a mandatory critical threshold level, you can also set thresholds for a less serious warning level, which doesn't generate an incident or send a notification.
Optional. Doesn't open incidents or generate notifications, but will roll up into incidents that are already open. Use a warning threshold if you want to monitor when a system behavior is concerning or noteworthy but not important enough to require a notification.
A loss of signal is a period of time when no data is received by New Relic. This could be the result of an entity or service going offline, an issue with an agent or collector, or networking problems in a data center or the internet. You can use loss of signal detection to create a new violation and notification if a signal stops and you expect a service to be stable. You may also want to use this to determine when an ephemeral service stops and set the action to close any open violations that exist for this condition.
To learn more about signal loss, gap filling, and how to request access to these features, see this announcement.
Different condition types have different minimum time intervals. For example, some condition types have a minimum time interval of 5 minutes (for example, APM metric alert conditions), and others have a minimum time interval of 1 minute (for example, NRQL alert conditions). The same happens with the maximum time interval, where the amount is 120 minutes.