You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Optional: per-indexer thresholds (override global defaults)
70
+
'thresholds' => [
71
+
'catalog_product_price' => [
72
+
'warning' => 500,
73
+
'critical' => 5000
74
+
],
75
+
'catalogsearch_fulltext' => [
76
+
'warning' => 2000,
77
+
'critical' => 15000
78
+
],
79
+
// ... configure thresholds for specific indexers
80
+
]
70
81
]
71
82
]
72
83
```
73
84
74
85
### Indexer Backlog Configuration Options
75
86
76
87
-**`indexer_ids`** (array): List of indexer IDs to monitor. If not specified, a default list of 12 common indexers is used.
77
-
-**`warning_threshold`** (int): Backlog size that triggers a WARNING status. Default: 1,000 items.
78
-
-**`critical_threshold`** (int): Backlog size that triggers a FAILED status. Default: 10,000 items.
88
+
-**`warning_threshold`** (int): Global warning threshold. Default: 1,000 items. Used when no per-indexer threshold is configured.
89
+
-**`critical_threshold`** (int): Global critical threshold. Default: 10,000 items. Used when no per-indexer threshold is configured.
90
+
-**`thresholds`** (array): Per-indexer threshold configuration. Each indexer can have its own `warning` and `critical` values that override the global defaults.
91
+
92
+
**Priority Order:**
93
+
1. Per-indexer threshold (if configured)
94
+
2. Global threshold (if configured)
95
+
3. Default threshold (1,000 for warning, 10,000 for critical)
0 commit comments