From 7ffd0b57ac5dd938b837f3cc33fc82e7fadfd27a Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Thu, 23 Jan 2020 16:45:49 +0100 Subject: [PATCH] update readme Signed-off-by: Miek Gieben --- plugin/traffic/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugin/traffic/README.md b/plugin/traffic/README.md index e61df5f20..a9f370b06 100644 --- a/plugin/traffic/README.md +++ b/plugin/traffic/README.md @@ -117,6 +117,13 @@ If `locality` *has* been specified there is an extra step between 3 and 4. **REGION,ZONE** and then **REGION**. If still not match, move on the to next one. If we found none, we continue with step 4 above, ignoring any locality. +### Metadata + +The metadata must be populated as follows (remains to be seen if this is the way to do it). There +must be a field with the key `HEALTH_STATUS` and the string value must be `DRAINING`. These values +are copied from Envoy protocol buffers. Anything other than `DRAINING` and `HEALTH_STATUS` or a +missing metadata means *traffic* will ignore it. + ## Metrics If monitoring is enabled (via the *prometheus* plugin) then the following metric are exported: