semconv.com

rpc.method

Release candidatestringas of v1.44.0

The fully-qualified logical name of the method from the RPC interface perspective.

The method name MAY have unbounded cardinality in edge or error cases.

Some RPC frameworks or libraries provide a fixed set of recognized methods for client stubs and server implementations. Instrumentations for such frameworks MUST set this attribute to the original method name only when the method is recognized by the framework or library.

When the method is not recognized, for example, when the server receives a request for a method that is not predefined on the server, or when instrumentation is not able to reliably detect if the method is predefined, the attribute MUST be set to _OTHER.

If the RPC instrumentation could end up converting valid RPC methods to _OTHER, then it SHOULD provide a way to configure the list of recognized RPC methods.

The rpc.method can be different from the name of any implementing method/function. The code.function.name attribute may be used to record the fully-qualified method actually executing the call on the server side, or the RPC client stub method on the client side.

Examples

Used by

metrics (24)

  • rpc.client.call.duration
  • rpc.client.call.duration
  • rpc.client.duration
  • rpc.client.duration
  • rpc.client.request.size
  • rpc.client.request.size
  • rpc.client.requests_per_rpc
  • rpc.client.requests_per_rpc
  • rpc.client.response.size
  • rpc.client.response.size
  • rpc.client.responses_per_rpc
  • rpc.client.responses_per_rpc
  • rpc.server.call.duration
  • rpc.server.call.duration
  • rpc.server.duration
  • rpc.server.duration
  • rpc.server.request.size
  • rpc.server.request.size
  • rpc.server.requests_per_rpc
  • rpc.server.requests_per_rpc
  • rpc.server.response.size
  • rpc.server.response.size
  • rpc.server.responses_per_rpc
  • rpc.server.responses_per_rpc

spans (39)

  • span.aws.client
  • span.aws.s3.client
  • span.dynamodb.batchgetitem.client
  • span.dynamodb.batchwriteitem.client
  • span.dynamodb.createtable.client
  • span.dynamodb.deleteitem.client
  • span.dynamodb.deletetable.client
  • span.dynamodb.describetable.client
  • span.dynamodb.getitem.client
  • span.dynamodb.listtables.client
  • span.dynamodb.putitem.client
  • span.dynamodb.query.client
  • span.dynamodb.scan.client
  • span.dynamodb.updateitem.client
  • span.dynamodb.updatetable.client
  • span.rpc.call.client
  • span.rpc.call.client
  • span.rpc.call.server
  • span.rpc.call.server
  • span.rpc.connect_rpc.call.client
  • span.rpc.connect_rpc.call.client
  • span.rpc.connect_rpc.call.server
  • span.rpc.connect_rpc.call.server
  • span.rpc.dubbo.call.client
  • span.rpc.dubbo.call.client
  • span.rpc.dubbo.call.client *
  • span.rpc.dubbo.call.server
  • span.rpc.dubbo.call.server
  • span.rpc.grpc.call.client
  • span.rpc.grpc.call.client
  • span.rpc.grpc.call.client *
  • span.rpc.grpc.call.server
  • span.rpc.grpc.call.server
  • span.rpc.jsonrpc.call.client
  • span.rpc.jsonrpc.call.client (opt-in)
  • span.rpc.jsonrpc.call.client
  • span.rpc.jsonrpc.call.server
  • span.rpc.jsonrpc.call.server (opt-in)
  • span.rpc.jsonrpc.call.server

* required on that signal.

History

  1. v1.40.0stability

    Promoted to release_candidate.

  2. v1.31.0

    Stability label respelled from experimental to development.

  3. v1.30.0

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

Definition sourceRegistry docsJSON