Skip to main content
Version: 1.0.0-beta

Threshold Configuration

Thresholds define when a KRI should trigger alerts. AIIA supports configurable warning (amber) and critical (red) thresholds with real-time visual preview.

Setting Thresholds

When creating or editing a KRI, configure the threshold_value field:

ParameterDescription
Warning ThresholdValue that triggers an amber alert
Critical ThresholdValue stored as threshold_value — triggers a red alert
DirectionWhether higher-is-worse or lower-is-worse

Direction Examples

KRIDirectionWarningCritical
Overdue action plans countHigher is worse> 5> 10
Audit coverage percentageLower is worse< 80%< 60%
Average days to close findingsHigher is worse> 45 days> 90 days

Visual Preview

The KRI Playground and detail view show a real-time threshold visualization:

  • Green zone — current value is within acceptable range
  • Amber zone — warning threshold breached
  • Red zone — critical threshold breached
  • Gauge indicator — shows current value relative to thresholds

RAG Threshold Visualization

AIIA uses the RAG (Red/Amber/Green) convention aligned with Saudi enterprise standards:

ColorMeaningAction
🟢 GreenNormalContinue monitoring
🟡 AmberWarningInvestigate root cause
🔴 RedCriticalImmediate escalation

Dynamic Thresholds

For advanced use cases, thresholds can be configured with:

  • Absolute values — fixed numbers (e.g., > 10)
  • Percentage changes — relative to previous period (e.g., > 20% increase)
  • Statistical bounds — based on historical standard deviations