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

RPC

as of v1.45.0

Remote procedure calls: gRPC, JSON-RPC, ONC RPC and the framework layers on top of them.

rpc 26onc_rpc 4jsonrpc 2signalr 2

Attributes
34
Metrics
14
Signals
5
Stable
6
Deprecated
19

Signals

What this domain emits, and the attributes each one carries, most strongly required first. An attribute marked * is required on that signal; * is conditionally required.

Spans 2

Events 3

Metrics 14

  • rpc.client.call.duration
    Stablehistogram · sMeasures the duration of an outgoing Remote Procedure Call (RPC).
  • rpc.client.duration
    Deprecatedhistogram · msDeprecated, use rpc.client.call.duration instead. Note: the unit also changed from ms to s.
  • rpc.client.request.size
    Deprecatedhistogram · ByMeasures the size of RPC request messages (uncompressed).
  • rpc.client.requests_per_rpc
    Deprecatedhistogram · {count}Measures the number of messages received per RPC.
  • rpc.client.response.size
    Deprecatedhistogram · ByMeasures the size of RPC response messages (uncompressed).
  • rpc.client.responses_per_rpc
    Deprecatedhistogram · {count}Measures the number of messages sent per RPC.
  • rpc.server.call.duration
    Stablehistogram · sMeasures the duration of an incoming Remote Procedure Call (RPC).
  • rpc.server.duration
    Deprecatedhistogram · msDeprecated, use rpc.server.call.duration instead. Note: the unit also changed from ms to s.
  • rpc.server.request.size
    Deprecatedhistogram · ByMeasures the size of RPC request messages (uncompressed).
  • rpc.server.requests_per_rpc
    Deprecatedhistogram · {count}Measures the number of messages received per RPC.
  • rpc.server.response.size
    Deprecatedhistogram · ByMeasures the size of RPC response messages (uncompressed).
  • rpc.server.responses_per_rpc
    Deprecatedhistogram · {count}Measures the number of messages sent per RPC.
  • signalr.server.active_connections
    Stableupdowncounter · {connection}Number of connections that are currently active on the server.
  • signalr.server.connection.duration
    Stablehistogram · sThe duration of connections on the server.

Specification

  • Spansare bound by the trace specification — 312 requirements across 8 documents, 176 of them MUST or SHALL.
  • Metricsare bound by the metrics specification — 569 requirements across 8 documents, 296 of them MUST or SHALL.
  • Eventsare bound by the logs specification — 163 requirements across 5 documents, 84 of them MUST or SHALL.

Requirements that name this domain 1

  • This is a list of additional propagators that MAY be maintained and distributed as OpenTelemetry Core packages: Jaeger. Status: Deprecated, use the W3C TraceContext instead; OpenCensus BinaryFormat. Propagation format used by OpenCensus, which describes how to format the span context into the binary format, and does not prescribe a key. It is commonly used with OpenCensus gRPC using the grpc-trace-bin propagation key

On the wire, this lands in trace/v1/trace, metrics/v1/metrics, logs/v1/logs. Field-by-field definitions are under OTLP.

Attributes 34

rpc26 attributes

onc_rpc4 attributes

jsonrpc2 attributes

  • jsonrpc.protocol.version
    DevelopmentProtocol version, as specified in the jsonrpc property of the request and its corresponding response.
  • jsonrpc.request.id
    DevelopmentA string representation of the id property of the request and its corresponding response.

signalr2 attributes

Recent changes

Breaking and notable changes to this domain across the last 6 semantic-conventions releases.

6 more in the full release history

Topics are this site's grouping of upstream namespaces, not a structure the OpenTelemetry project publishes. JSON · All domains