monitoring: fire an alert when there is any permission syncing error
Created by: unknwon
This PR addresses two things:
- Measure on the "rate" of permission syncing errors instead of percentage of the former.
- Fire a critical alert whenever there is an error. Used
ceil
function to round up.
Fixes #16698 (closed)