健康检查

健康检查配置概述

filter.http.HealthCheck

filter.http.HealthCheck proto

  1. {
  2. "pass_through_mode": "{...}",
  3. "endpoint": "...",
  4. "cache_time": "{...}"
  5. }
  • pass_through_mode
    (BoolValue, REQUIRED) 指定过滤器是否在传递模式下运行。

  • endpoint
    (string, REQUIRED) 传入应被视为健康检查的HTTP端口。例如/healthcheck

  • cache_time
    (Duration) 如果在传递模式下运行,则过滤器需要缓存上游响应的时间(以毫秒为单位)。

返回