Module rpc_passage

rpc module wrapper for providing tracing facility.

Copyright © 2017 Takeru Ohta <phjgt308@gmail.com>

Description

rpc module wrapper for providing tracing facility.

The tracing facility is based on passage.

Function Index

call/4The same as rpc:call/4 except for propagating the current span to the spawned process.
call/5The same as rpc:call/5 except for propagating the current span to the spawned process.

Function Details

call/4

call(Node::node(), Module::module(), Function::atom(), Args::[term()]) -> Res | {badrpc, Reason}

The same as rpc:call/4 except for propagating the current span to the spawned process.

The propagated span is saved in the process dictionary of the RPC executing process. So the functions of passage_pd module can be used in the process.

If Node has no capability to handle tracing, this will switch to the ordinary rpc:call/4 function internally.

call/5

call(Node::node(), Module::module(), Function::atom(), Args::[term()], Timeout::timeout()) -> Res | {badrpc, Reason}

The same as rpc:call/5 except for propagating the current span to the spawned process.

The propagated span is saved in the process dictionary of the RPC executing process. So the functions of passage_pd module can be used in the process.

If Node has no capability to handle tracing, this will switch to the ordinary rpc:call/5 function internally.


Generated by EDoc