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

rpc.response.status_code

Release candidatestringas of v1.44.0

Status code of the RPC returned by the RPC server or generated by the client

Usually it represents an error code, but may also represent partial success, warning, or differentiate between various types of successful outcomes. Semantic conventions for individual RPC frameworks SHOULD document what rpc.response.status_code means in the context of that system and which values are considered to represent errors.

Examples

Used by

metrics (15)

  • mcp.client.operation.duration
  • mcp.server.operation.duration
  • otel.sdk.exporter.operation.duration
  • rpc.client.call.duration
  • rpc.client.duration
  • rpc.client.request.size
  • rpc.client.requests_per_rpc
  • rpc.client.response.size
  • rpc.client.responses_per_rpc
  • rpc.server.call.duration
  • rpc.server.duration
  • rpc.server.request.size
  • rpc.server.requests_per_rpc
  • rpc.server.response.size
  • rpc.server.responses_per_rpc

spans (12)

  • span.mcp.client
  • span.mcp.server
  • span.rpc.call.client
  • span.rpc.call.server
  • span.rpc.connect_rpc.call.client
  • span.rpc.connect_rpc.call.server
  • span.rpc.dubbo.call.client *
  • span.rpc.dubbo.call.server *
  • span.rpc.grpc.call.client *
  • span.rpc.grpc.call.server *
  • span.rpc.jsonrpc.call.client
  • span.rpc.jsonrpc.call.server

* required on that signal.

History

  1. v1.41.0

    No longer referenced by rpc.server.

  2. v1.40.0usage

    Now referenced by span.rpc.dubbo.call.client and span.rpc.dubbo.call.server (required).

  3. v1.40.0stability

    Promoted to release_candidate.

  4. v1.39.0

    Added as development.

Definition sourceRegistry docsJSONUse with your agent →