-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[HTTP Metrics] Rename server.socket.address
to network.peer.address
#92956
Comments
Tagging subscribers to this area: @dotnet/ncl Issue Detailsopen-telemetry/semantic-conventions#342 is introducing changes to the OTel standard that will effect the conformance of attributes in our
runtime/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionBase.cs Lines 53 to 59 in 3452a99
|
@lmolkova please confirm if my understanding of the required changes is correct. |
After further consideration, I prefer to not implement
|
server.socket.address
to network.peer.address
and add network.peer.port
server.socket.address
to network.peer.address
open-telemetry/semantic-conventions#342 is introducing changes to the OTel standard that will effect the conformance of our
http.client.open_connections
andhttp.client.connection.duration
metrics. The PR is expected to be merged very soon giving us an opportunity to adjust our metrics for 8.0 GA and avoid breaking changes in 9.0.server.socket.address
tonetwork.peer.address
in both metricsnetwork.peer.port
whennetwork.peer.address
is set, we should introduce that attribute. The implementation should be trivial, since we are flowing down the peer'sIPEndPoint
toHttpConnectionBase
.runtime/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionBase.cs
Lines 53 to 59 in 3452a99
The text was updated successfully, but these errors were encountered: