semconv.com

server.port

Stableintas of v1.44.0

Server port number.

When observed from the client side, and when communicating through an intermediary, server.port SHOULD represent the server port behind any intermediaries, for example proxies, if it's available.

Examples

Used by

events (1)

  • gen_ai.client.inference.operation.details

spans (78)

  • messaging.create.producer
  • messaging.eventhubs.generic.client
  • messaging.process.consumer
  • messaging.receive.client
  • messaging.send.client
  • messaging.send.producer
  • messaging.servicebus.generic.client
  • messaging.settle.client
  • span.anthropic.inference.client
  • span.aws.bedrock.client
  • span.aws.bedrock.client
  • span.azure.ai.inference.client
  • span.azure.ai.inference.client
  • span.azure.cosmosdb.client
  • span.azure.cosmosdb.client
  • span.db.cassandra.client
  • span.db.cassandra.client
  • span.db.client
  • span.db.client
  • span.db.couchdb.client
  • span.db.couchdb.client
  • span.db.elasticsearch.client
  • span.db.elasticsearch.client
  • span.db.hbase.client
  • span.db.hbase.client
  • span.db.mariadb.client
  • span.db.mariadb.client
  • span.db.mongodb.client
  • span.db.mongodb.client
  • span.db.mysql.client
  • span.db.mysql.client
  • span.db.oracledb.client
  • span.db.oracledb.client
  • span.db.postgresql.client
  • span.db.postgresql.client
  • span.db.redis.client
  • span.db.redis.client
  • span.db.sql_server.client
  • span.db.sql_server.client
  • span.db.sql.client
  • and 38 more

metrics (82)

  • azure.cosmosdb.client.active_instance.count
  • azure.cosmosdb.client.operation.request_charge
  • db.client.cosmosdb.active_instance.count
  • db.client.operation.duration
  • db.client.response.returned_rows
  • gen_ai.client.operation.duration
  • gen_ai.client.operation.time_per_output_chunk
  • gen_ai.client.operation.time_to_first_chunk
  • gen_ai.client.token.usage
  • gen_ai.server.request.duration
  • gen_ai.server.time_per_output_token
  • gen_ai.server.time_to_first_token
  • http.client.active_requests *
  • http.client.connection.duration *
  • http.client.open_connections *
  • http.client.request.body.size *
  • http.client.request.duration *
  • http.client.response.body.size *
  • http.server.active_requests (opt-in)
  • http.server.request.body.size
  • http.server.request.body.size (opt-in)
  • http.server.request.duration
  • http.server.request.duration (opt-in)
  • http.server.response.body.size
  • http.server.response.body.size (opt-in)
  • kestrel.active_connections
  • kestrel.active_tls_handshakes
  • kestrel.connection.duration
  • kestrel.queued_connections
  • kestrel.queued_requests
  • kestrel.rejected_connections
  • kestrel.tls_handshake.duration
  • kestrel.upgraded_connections
  • mcp.client.operation.duration
  • mcp.client.session.duration
  • messaging.client.consumed.messages
  • messaging.client.operation.duration
  • messaging.client.published.messages
  • messaging.client.sent.messages
  • messaging.process.duration
  • and 42 more

* required on that signal.

History

  1. v1.30.0

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

Definition sourceRegistry docsJSON