课程评价 (0)

请对课程作出评价:
0/300

学员评价

暂无精选评价
1分钟

后端服务器健康性状态检查

.probe:定义健康状态检测方法;

.url:检测时要请求的URL,默认为”/”;

.request:发出的具体请求;

.request =

“GET /.healthtest.html HTTP/1.1”

“Host: www.magedu.com”

“Connection: close”

.window:基于最近的多少次检查来判断其健康状态;

.threshold:最近.window中定义的这么次检查中至有.threshhold定义的次数是成功的;

.interval:检测频度;

.timeout:超时时长;

.expected_response:期望的响应码,默认为200;