From 07a8eaa1a248d65baeebb336664bb5e74e5a5580 Mon Sep 17 00:00:00 2001 From: "data-plane-api(CircleCI)" Date: Tue, 10 Jul 2018 19:38:59 +0000 Subject: [PATCH] healthchecks: Add interval_jitter_percent healthcheck option (#3816) Signed-off-by: Julia Evans Mirrored from https://github.com/envoyproxy/envoy @ 03cfb87dd14d78c6b4c7bbd3656c97fdd844882f --- envoy/api/v2/core/health_check.proto | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/envoy/api/v2/core/health_check.proto b/envoy/api/v2/core/health_check.proto index 92c811e9..3d21e7d4 100644 --- a/envoy/api/v2/core/health_check.proto +++ b/envoy/api/v2/core/health_check.proto @@ -33,9 +33,17 @@ message HealthCheck { ]; // An optional jitter amount in millseconds. If specified, during every - // internal Envoy will add 0 to interval_jitter to the wait time. + // interval Envoy will add 0 to interval_jitter to the wait time. google.protobuf.Duration interval_jitter = 3; + // An optional jitter amount as a percentage of interval_ms. If specified, + // during every interval Envoy will add 0 to interval_ms * + // interval_jitter_percent / 100 to the wait time. + // + // If interval_jitter_ms and interval_jitter_percent are both set, both of + // them will be used to increase the wait time. + uint32 interval_jitter_percent = 18; + // The number of unhealthy health checks required before a host is marked // unhealthy. Note that for *http* health checking if a host responds with 503 // this threshold is ignored and the host is considered unhealthy immediately.