Skip to content

Commit 623986c

Browse files
authored
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.
1 parent 4c6a342 commit 623986c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/confighttp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ processors:
111111
attributes:
112112
actions:
113113
- key: http.client_ip
114-
from_context: X-Forwarded-For
114+
from_context: metadata.x-forwarded-for
115115
action: upsert
116116
```
117117

0 commit comments

Comments
 (0)