We have configured forwarded_by_client_ip and trusted_proxies in the router settings, and the correct client IP shows in the access logs, e.g. 167.94.x.x. But i just noticed, that the client.address span attribute has the IP address of the latest proxy.
Example
label
value
client.address
"10.254.0.4:43550"
krakend.stage
"global"
server.address
"my.tld.com"
Also i couldn't find the client.address span attribute in the docs.
We have configured
forwarded_by_client_ip
andtrusted_proxies
in the router settings, and the correct client IP shows in the access logs, e.g.167.94.x.x
. But i just noticed, that theclient.address
span attribute has the IP address of the latest proxy.Example
Also i couldn't find the
client.address
span attribute in the docs.