Skip to content
semconv.com
↑↓ move↵ openUse with your agent →

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.40.0

    No longer referenced by attributes.metrics.rpc.client, attributes.metrics.rpc.server and 23 others.

  2. v1.39.0

    No longer referenced by rpc_service, rpc_service.server and 8 others.

  3. v1.39.0

    Now referenced by common.rpc.attributes, mcp.common.attributes and 19 others (recommended).

  4. v1.38.0

    Now referenced by attributes.metrics.rpc.client, attributes.metrics.rpc.server and 22 others (recommended).

  5. v1.30.0

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

Definition sourceRegistry docsJSONUse with your agent →