From 623986cee74ee75ce04a63464bfd966c73fc797a Mon Sep 17 00:00:00 2001 From: Dov Murik Date: Wed, 9 Oct 2024 06:33:15 +0300 Subject: [PATCH] docs: Fix metadata/headers example on confighttp README [chore] (#11317) #### Description Documentation fix: The example for using attributesprocessor to add the value of an incoming HTTP header missed the `metadata.` prefix and the lowercasing of the header name. Fix the example in config/confighttp/README.md. --- config/confighttp/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/confighttp/README.md b/config/confighttp/README.md index 8b0c40a9bad..160041d8a5c 100644 --- a/config/confighttp/README.md +++ b/config/confighttp/README.md @@ -111,7 +111,7 @@ processors: attributes: actions: - key: http.client_ip - from_context: X-Forwarded-For + from_context: metadata.x-forwarded-for action: upsert ```