We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe your environment
nginx installed as a forward or reverse proxy with the otel instrumentation module installed.
Steps to reproduce
Hit the proxy and inspect the attributes of the generated span.
What is the expected behavior?
The span created by the module when nginx is acting as a proxy should have:
network.peer.address
$upstream_addr
client.address
$remote_addr
What is the actual behavior?
The span created by the module has the attribute:
net.peer.ip
opentelemetry-cpp-contrib/instrumentation/nginx/src/otel_ngx_module.cpp
Line 50 in 22e7fe2
Additional context
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe your environment
nginx installed as a forward or reverse proxy with the otel instrumentation module installed.
Steps to reproduce
Hit the proxy and inspect the attributes of the generated span.
What is the expected behavior?
The span created by the module when nginx is acting as a proxy should have:
network.peer.address
set to$upstream_addr
client.address
set to$remote_addr
What is the actual behavior?
The span created by the module has the attribute:
net.peer.ip
set to$remote_addr
opentelemetry-cpp-contrib/instrumentation/nginx/src/otel_ngx_module.cpp
Line 50 in 22e7fe2
Additional context
The text was updated successfully, but these errors were encountered: