Learn how alert conditions work · Beginner exercise with answers
How mean and max change alert behavior
MEAN uses the average within a window; MAX uses its highest value. For an above-threshold rule, MAX can retain the effect of one high point. It still may not open an alert: series-count and retest requirements also apply.
Make a prediction
What are MEAN and MAX for 1%, 1%, 1%, and 9%? Which satisfies a condition strictly above 5%?
A fixed, small input example
Compare Cloud Monitoring MEAN and MAX on the same four readings and verify the evaluated result.
| Time | 5xx ratio |
|---|---|
| 0 s | 1% |
| 10 s | 1% |
| 20 s | 1% |
| 30 s | 9% |
Fixed public teaching seed: 270927 · The dataset is fixed by the table above; it contains no personal settings.
How values flow into the evaluation
- Four values in the same window: 1%, 1%, 1%, 9%
- MEAN = 3% / MAX = 9%
- Threshold > 5%: MEAN stays below; MAX violates
Conditions held fixed in this example
- One-minute rolling window; threshold > 5%; zero retest; one series. Only MEAN vs MAX changes.
- This synthetic fixture is independent of the app's current settings.
fixed-teaching-points · v1 · 10 seconds sample interval · 60 seconds horizon
Answer and explanation
Reveal the answer
At 60 seconds, MEAN is 3% and does not violate. MAX is 9%, so the condition is met and opens at this evaluation.
MEAN is (1 + 1 + 1 + 9) ÷ 4 = 3%; MAX is 9%. With zero retest and one required series, MAX opens an alert at the violating evaluation in this example. MAX is not always better: choose whether you want to retain a brief high reading or examine the average level within the window.
Explore in the simulator
This is a separate experiment using your current settings, not an import of the fixed table. Review your rule first and, if needed, build a practice waveform before trying these steps.
- Keep the dataset fixed and switch between raw and aligned views.
- Change the aligner from MEAN to MAX and apply it.
- Compare when processed violations start, how many series qualify, and how long they continue. For below-threshold conditions, consider MIN separately.
Opening the app shows a confirmation dialog. The link alone does not change settings, waves, or saves. If you start a teaching test, the original experiment is protected in a separate browser-storage area. The fixed table above and the simulator's test for your current rule are separate datasets.
Check your understanding
- Explain why MEAN and MAX produce different processed values.
- Recognize that exactly 5% does not satisfy a condition strictly above 5%.
- Hold other settings fixed and change only the aligner on the same dataset.
For a comparison note, record the dataset ID, changed setting, and opening time or reason no alert opened. Save the experiment explicitly in the app if you want to return to it.
Scope and limits
This is one evaluated point; it does not guarantee outcomes with other series counts, retest durations, or real-world notification delays. Real sampling and arrival timing can differ.
Educational comparisons use synthetic data. They do not guarantee production detection rates or notification timing, and do not connect to or configure Google Cloud. Unsupported operations and insufficient history can be unevaluable.
Official references
Reviewed September 27, 2026. Not an official or affiliated Google service.
Return to the simulator
← Back to the simulatorIf you opened this guide in a new tab from the app, close this tab to continue in the original tab. The link above opens the simulator again. To resume the same waveform and playback position later, use Save / open experiment in the app. This is separate from settings autosave.