Skip to content

[HTTP Metrics] Rename server.socket.address to network.peer.address #92956

@antonfirsov

Description

@antonfirsov

open-telemetry/semantic-conventions#342 is introducing changes to the OTel standard that will effect the conformance of our http.client.open_connections and http.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.

_connectionMetrics = new ConnectionMetrics(
metrics,
protocol,
pool.IsSecure ? "https" : "http",
pool.OriginAuthority.HostValue,
pool.IsDefaultPort ? null : pool.OriginAuthority.Port,
remoteEndPoint?.Address?.ToString());

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions