spring-cloud/script/sentinel/gateway-server/gateway-server-gw-flow-rule...

12 lines
551 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

[
{
"resource": "feign-test", // 资源名
"resourceMode": 0, // API类型, 0: ROUTE ID区分, 1: API
"count": 1, // 阈值QPS类型就是限制时间间隔的请求数线程数类型就是指并行的线程数
"grade": 1, // 阈值类型0线程数1QPS
"controlBehavior": 2, // 流控方式0快速失败2匀速排队
"intervalSec": 10, // 间隔,单位是秒
"burst": 0, // burst只有在快速失败时才有效
"maxQueueingTimeoutMs": 1000 // 超时时间,单位是毫秒
}
]