semconv.com

network.protocol.version

Stablestringas of v1.44.0

The actual version of the protocol used for network communication.

If protocol version is subject to negotiation (for example using ALPN), this attribute SHOULD be set to the negotiated version. If the actual protocol version is not known, this attribute SHOULD NOT be set.

Examples

Used by

metrics (14)

  • http.client.connection.duration
  • http.client.open_connections
  • http.client.request.body.size
  • http.client.request.duration
  • http.client.response.body.size
  • http.server.request.body.size
  • http.server.request.duration
  • http.server.response.body.size
  • kestrel.connection.duration
  • kestrel.queued_requests
  • mcp.client.operation.duration
  • mcp.client.session.duration
  • mcp.server.operation.duration
  • mcp.server.session.duration

spans (4)

  • span.http.client
  • span.http.server
  • span.mcp.client
  • span.mcp.server

* required on that signal.

History

  1. v1.30.0

    Already present at v1.30.0, the oldest release tracked here (stable).

Definition sourceRegistry docsJSON