Detect failures before downtime occurs with monitors from Apex