From 11db59ebc610f0eb7dd23b691d5ce499392a7507 Mon Sep 17 00:00:00 2001 From: "update-envoy[bot]" <135279899+update-envoy[bot]@users.noreply.github.com> Date: Fri, 1 Sep 2023 06:46:26 +0000 Subject: [PATCH] hc: add host related info to the health check event (#27833) Signed-off-by: Boteng Yao Mirrored from https://github.com/envoyproxy/envoy @ 46c37678e5c9ffc7e06189fe060ec02e9296d58b --- envoy/data/core/v3/health_check_event.proto | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/envoy/data/core/v3/health_check_event.proto b/envoy/data/core/v3/health_check_event.proto index a349fa31..17e78ea5 100644 --- a/envoy/data/core/v3/health_check_event.proto +++ b/envoy/data/core/v3/health_check_event.proto @@ -3,6 +3,7 @@ syntax = "proto3"; package envoy.data.core.v3; import "envoy/config/core/v3/address.proto"; +import "envoy/config/core/v3/base.proto"; import "google/protobuf/timestamp.proto"; @@ -34,7 +35,7 @@ enum HealthCheckerType { THRIFT = 4; } -// [#next-free-field: 10] +// [#next-free-field: 12] message HealthCheckEvent { option (udpa.annotations.versioning).previous_message_type = "envoy.data.core.v2alpha.HealthCheckEvent"; @@ -66,6 +67,12 @@ message HealthCheckEvent { // Timestamp for event. google.protobuf.Timestamp timestamp = 6; + + // Host metadata + config.core.v3.Metadata metadata = 10; + + // Host locality + config.core.v3.Locality locality = 11; } message HealthCheckEjectUnhealthy {