network.protocol.version
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
- 1.1
- 2
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
No longer referenced by
attributes.metrics.rpc.client,attributes.metrics.rpc.serverand 23 others.No longer referenced by
rpc_service,rpc_service.serverand 8 others.Now referenced by
common.rpc.attributes,mcp.common.attributesand 19 others (recommended).Now referenced by
attributes.metrics.rpc.client,attributes.metrics.rpc.serverand 22 others (recommended).Already present at v1.30.0, the oldest release tracked here (stable).