When to use the health endpoint monitoring pattern