An RpcInterceptor emitting rpc_call / rpc_handler spans. Bound to the job it was installed for: incoming invocations arrive outside that job's context (see interceptIncoming).

Implements

  • RpcInterceptor

Constructors

Methods

  • Parameters

    • invocation: RpcInvocationData
    • next: IncomingRpcNext

    Returns Promise<string>

  • Parameters

    • call: RpcCallInfo
    • next: OutgoingRpcNext

    Returns Promise<string>