Support request fail counts in health check

Traefik take endpoint unhealthy immediately after one health check request failed,
Does health check support fail counts? I also asked in github, but the robot closed it