How to exclude HTTP errors from monitoring