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

nginx module produces wrong peer address #483

Open
blakeroberts-wk opened this issue Sep 12, 2024 · 0 comments
Open

nginx module produces wrong peer address #483

blakeroberts-wk opened this issue Sep 12, 2024 · 0 comments
Labels

Comments

@blakeroberts-wk
Copy link

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

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant