Thrift Health Checker
The Thrift Health Checker (with envoy.health_checkers.thrift
as name) uses Thrift requests,
responses and exceptions to check upstream hosts. It sends a request with
method_name
and expects a success response in exchange. The upstream host can also respond with an exception to cause the check to fail.
The transport and
protocol types to be set for each health
check request must be configured to enable Thrift health checks. The sequence id is always 0 for each health check request.
An example for custom_health_check using the Thrift health checker is shown below:
custom_health_check:
name: envoy.health_checkers.thrift
typed_config:
"@type": type.googleapis.com/envoy.extensions.health_checkers.thrift.v3.Thrift
method_name: ping
transport: HEADER
protocol: BINARY