Clarify server.address
and server.port
in forwarded situations
#1387
Labels
server.address
and server.port
in forwarded situations
#1387
Area(s)
area:server
Is your change request related to a problem? Please describe.
In https://github.com/open-telemetry/semantic-conventions/blob/bf0a2c1134f206f034408b201dbec37960ed60ec/docs/http/http-spans.md#clientserver-example-with-reverse-proxy the forwarded header may not contain enough information to determine the port if it contains
host
but notproto
. The http semconv states that port is required if address exists.Describe the solution you'd like
Please clarify what to do in this situation:
x-forwarded-host
orhost
headers, or use port of proxied requestForwarded
headerDescribe alternatives you've considered
No response
Additional context
While the
Forwarded
should contain enough information to determine the port, it may not in every situation. In these types of unexpected situations, telemetry is more important than ever.The text was updated successfully, but these errors were encountered: