Destination reached!
Congratulations on completing this path! Job well done!
We hope you’ve enjoyed traveling with us as you:
- Opened and named your alert rule
- Switched the query editor to Code mode
- Wrote a PromQL error-rate query using two
rate()calls and a ratio - Set the alert condition, threshold, and recovery threshold
- Created a folder and added a severity label
- Configured the evaluation interval and pending period
- Confirmed no-data and error handling
- Chose a contact point, wrote the notification message, and saved the rule
- Suppressed notifications during maintenance with a silence
You now have a working alert rule whose error-rate query is written as clear PromQL in Code mode. That’s a pattern you’ll reuse whenever the query needs multi-step math.
More to explore (optional)
Read more about how you can:
How satisfied were you with your path?
page 13 of 12
page 13 of 12