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:
| Parameter | Description |
|---|---|
| Warning Threshold | Value that triggers an amber alert |
| Critical Threshold | Value stored as threshold_value — triggers a red alert |
| Direction | Whether higher-is-worse or lower-is-worse |
Direction Examples
| KRI | Direction | Warning | Critical |
|---|---|---|---|
| Overdue action plans count | Higher is worse | > 5 | > 10 |
| Audit coverage percentage | Lower is worse | < 80% | < 60% |
| Average days to close findings | Higher 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:
| Color | Meaning | Action |
|---|---|---|
| 🟢 Green | Normal | Continue monitoring |
| 🟡 Amber | Warning | Investigate root cause |
| 🔴 Red | Critical | Immediate 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
Related
- KRI Playground — build KRIs visually
- Alert Management — manage threshold breach alerts
- Trend Analysis — view KRI trends over time