{"group":"eolinker.com","project":"apinto","name":"circuit_breaker","version":"innert","render":{"type":"object","eo:type":"object","properties":{"body":{"type":"string","eo:type":"string","label":"熔断状态下的返回响应体"},"break_period":{"type":"integer","eo:type":"integer","description":"最小值：1","format":"int64","minimum":1,"label":"熔断期"},"breaker_code":{"type":"integer","eo:type":"integer","description":"最小值：100","format":"int32","minimum":100,"label":"熔断状态下返回的响应状态码"},"failure_percent":{"type":"number","eo:type":"number","description":"最小值：0，最大值：1","format":"double","minimum":0,"maximum":1,"label":"监控期内的请求错误率"},"headers":{"type":"object","eo:type":"map","additionalProperties":{"type":"string","eo:type":"string"},"label":"熔断状态下新增的返回头部值"},"match_codes":{"type":"string","eo:type":"string","description":"多个状态码之间使用英文逗号隔开","label":"匹配状态码"},"minimum_requests":{"type":"integer","eo:type":"integer","description":"最小值：1","format":"int32","minimum":1,"label":"最低熔断阀值，达到熔断状态的最少请求次数"},"monitor_period":{"type":"integer","eo:type":"integer","description":"单位：秒，最小值：1","format":"int32","minimum":1,"label":"监控期"},"success_counts":{"type":"integer","eo:type":"integer","description":"最小值：1","format":"int32","minimum":1,"label":"连续请求成功次数，半开放状态下请求成功次数达到后会转变成健康状态"}},"ui:sort":["match_codes","monitor_period","minimum_requests","failure_percent","break_period","success_counts","breaker_code","headers","body"]}}