Updated 2025-01-07

Customizing the Absence Detection Period for an Alarm Query

Specify a custom value for the absence detection period to use when querying metric data in an alarm in Monitoring.

Note

To understand the impact of customizing the absence detection period, see Absence Alarm Example.

The default absence detection period is two hours. An alarm query containing absent() uses the default.

Valid values range from one minute (1m) to three days (3d or 72h). Specify the amount of time in the absence detection period using a number and unit (m, h, or d for minute, hour, or day).

Example alarm query for a custom absence detection period of 20 hours:

CpuUtilization[1m]{resourceId = "<resource_identifier>"}.absent(20h)

For alarm troubleshooting, see Troubleshooting Alarms. See also Creating a Basic Alarm.

Was this article helpful?

Updated 2025-01-07