Tools / Apache HertzBeat Interview Questions
What is the difference between real-time and scheduled thresholds?
Both are threshold rule types, but they evaluate on different triggers, which makes them suited to different scenarios.
| Real-time threshold | Scheduled threshold |
| Fires the instant new monitoring data is collected. | Evaluated periodically over a defined time window. |
| Best for high-urgency, instantaneous conditions. | Best for aggregation-heavy conditions computed via PromQL or SQL. |
| Lower computation overhead per check. | Can be more expensive; scheduling reduces evaluation frequency. |
A certificate-expiry check is a natural real-time rule, while "error rate averaged over the last 15 minutes" is a natural scheduled rule.
More Related questions...