You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a minor issue, creating it anyway as I have an example running right now and can provide screenshots.
The screenshot below shows the span attributes of an HTTP client span created by Beyla:
It looks great, however, the server.address is not very helpful. My application performs an outgoing request to a K8S service rusttestserver.default.svc.cluster.local and it would be more helpful to see the actual host name instead of the IP.
My first intuition was that we could look up the host via DNS. However, the semantic conventions spec explicitly advice against this, because if an HTTP client request is explicitly made to an IP address then the IP address should be used in server.address.
I'm wondering if we can use the host name from the host: header of the request? I guess the host: header should always contain what the client used, either an IP address or a host name.
The text was updated successfully, but these errors were encountered:
This is a minor issue, creating it anyway as I have an example running right now and can provide screenshots.
The screenshot below shows the span attributes of an HTTP client span created by Beyla:
It looks great, however, the
server.address
is not very helpful. My application performs an outgoing request to a K8S servicerusttestserver.default.svc.cluster.local
and it would be more helpful to see the actual host name instead of the IP.For comparison, I set up a similar scenario in Java with the OpenTelemetry Java instrumentation agent. The Java agent uses the host name, see screenshot below:
My first intuition was that we could look up the host via DNS. However, the semantic conventions spec explicitly advice against this, because if an HTTP client request is explicitly made to an IP address then the IP address should be used in
server.address
.I'm wondering if we can use the host name from the
host:
header of the request? I guess thehost:
header should always contain what the client used, either an IP address or a host name.The text was updated successfully, but these errors were encountered: