TraceAttributes::RPC_METHOD
The name of the (logical) method being called, must be equal to the $method part in the span name.
This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).
@example exampleMethod
File
-
vendor/
open-telemetry/ sem-conv/ TraceAttributes.php, line 3524
Class
Namespace
OpenTelemetry\SemConvCode
public const RPC_METHOD = 'rpc.method';