Add more configurability to Traffic Manager monitoring endpoint
I would like for the monitoring endpoint configuration to support two new options:
1) How many consecutive times TrafficMgr does not get an http 200 from the endpoint before it deems it down. I have a scenario where I want it to be deemed down immediately after one failure for a quicker failover.
2) How many consecutive times TrafficMgr receives an http 200 after it has deemed it down before it will deem it up again. I have seen a scenario where table storage (or SQL Azure) is inconsistent (fails one query then succeeds the next, back and forth) and I want to tell TrafficMgr not to deem my service up again until it receives 10 consecutive http 200's.
Right now, it takes up to 2 minutes (1 request every 10 secondes + 3 failures every 30 seconds) before an endpoint is deemed down. We would love to be able to reduce either the number of checks after the first failure or the time between those checks.
Aws offers these with its load balancer. In fact it allows a 10sec query interval for health checks.