Module oc_reporter
This module has the behaviour that each reporter must implement and creates the buffer of trace spans to be reported.
Behaviours: gen_server
.
This module defines the oc_reporter
behaviour. Required callback functions: init/1
, report/2
.
Function Index
handle_call/3 | |
handle_cast/2 | |
handle_info/2 | |
init/1 | |
start_link/0 | |
store_span/1 | |
terminate/2 |
Function Details
handle_call/3
handle_call(X1, From, State) -> any()
handle_cast/2
handle_cast(X1, State) -> any()
handle_info/2
handle_info(X1, State) -> any()
init/1
init(Args) -> any()
start_link/0
start_link() -> any()
store_span/1
store_span(Span::opencensus:span()) -> true | {error, invalid_span} | {error, no_report_buffer}
terminate/2
terminate(X1, State) -> any()