-
Notifications
You must be signed in to change notification settings - Fork 870
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
Use direct peer address in client.address
when X-Forwarded-For is not present
#10370
Conversation
@trask can you try to rerun failed tests? locally those tests were successful though. |
it looks like |
@@ -98,6 +98,7 @@ abstract class AbstractRatpackRoutesTest extends InstrumentationSpecification { | |||
"$SemanticAttributes.NETWORK_PROTOCOL_VERSION" "1.1" | |||
"$SemanticAttributes.SERVER_ADDRESS" { it == "localhost" || it == null } | |||
"$SemanticAttributes.SERVER_PORT" { it == app.bindPort || it == null } | |||
"$SemanticAttributes.CLIENT_ADDRESS" { it == "127.0.0.1" || it == null } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps this should also be just "127.0.0.1"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, sometimes it will be null. similar to line 102.
thx @heyams! |
…ot present (open-telemetry#10370) Co-authored-by: heyams <heya@microsoft.com>
No description provided.