Alert rules let you define conditions that, when met, trigger notifications via email or WordPress admin notice.
Creating Alert Rules #
Navigate to DDLS > Developer > Monitoring > Alerts (also accessible at DDLS > Developer > Alerts) to create and manage alert rules.
Alert Types #
| Alert Type | Description |
|---|---|
| Error Rate Threshold | Triggers when the error rate exceeds a defined percentage |
| Response Time Threshold | Triggers when average response time exceeds a defined value (ms) |
| Request Volume Spike | Triggers when request volume increases beyond a defined multiplier |
Alert Configuration #
Each alert rule includes the following configuration fields:
| Field | Description |
|---|---|
| Threshold Value | The numeric value that triggers the alert |
| Comparison Operator | How to compare the metric to the threshold (e.g., greater than) |
| Evaluation Window | The time window over which the metric is evaluated |
| Notification Channels | Email address and/or admin notice |
| Frequency | How often the alert can re-trigger (mute window between alerts) |
Alert History #
All triggered alerts are recorded in the dmsi_aapi_alert_history table. Alert history records are retained for 30 days.
Alert Evaluation Schedule #
Alert rules are evaluated on the WP-Cron schedule. WP-Cron must be active on your WordPress installation for alerts to trigger reliably.
