From f450bdcb99ff1da3021016cce601ac318228f913 Mon Sep 17 00:00:00 2001 From: Jose Ulises Nino Rivera Date: Thu, 28 Sep 2017 23:46:24 +0200 Subject: [PATCH] rds: add comment for Metadata field in the Route message (#182) Signed-off-by: Jose Nino --- api/rds.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/api/rds.proto b/api/rds.proto index 633a98b5..2b44d227 100644 --- a/api/rds.proto +++ b/api/rds.proto @@ -300,7 +300,12 @@ message Route { RedirectAction redirect = 3; } - // See base.Metadata description. + // See base.Metadata description for message structure. The Metadata field + // can be used to provide the Router filter additional information + // about the Route. It can be used for configuration, stats, and logging. + // The metadata should go under the filter namespace that will need it. + // For instance, of the metadata is intended for the Router filter, + // the filter name should be specified as "envoy.lb". Metadata metadata = 4; // Decorator for matched route.