Skip to main content
Determines what the current metric value should be compared against when evaluating alert conditions.
When using TIME_PERIOD, the allowed compare_bin_delta values depend on bin_size:

Example

TIME_PERIOD = "time_period"

Compare to a historical time period (relative comparison). Useful for detecting changes over time, seasonal patterns, etc. When using TIME_PERIOD, the compare_bin_delta parameter specifies how many time periods back to compare against.

RAW_VALUE = "raw_value"

Compare to an absolute threshold value (absolute comparison). Useful for hard limits and business rule enforcement. When using RAW_VALUE, compare_bin_delta is ignored.