Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tracing): add http.client_ip attribute #10723

Merged
merged 8 commits into from
Apr 28, 2023
Merged
2 changes: 1 addition & 1 deletion kong/tracing/instrumentation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function _M.request(ctx)
["http.host"] = host,
["http.scheme"] = scheme,
["http.flavor"] = http_flavor,
["net.peer.ip"] = client.get_ip(),
["net.peer.ip"] = client.get_forwarded_ip(),
backjo marked this conversation as resolved.
Show resolved Hide resolved
},
})

Expand Down