finish/1 | Finish the span and pass it to filtering if it is active. |
ids/1 | Get the trace id and span id from a span. |
log/2 | Add a log to the span. |
log/3 | Add a log to the span with specific service information. |
start/1 | Start a new span collection process. |
start/2 | Start a new span collection process with an existing trace id or parent span. |
start/3 | Start a new span collection process with an existing trace id and parent span id. |
start_with_tags/2 | Start a new span with a list of tags and pass it to pre filtering. |
start_with_tags/3 | Start a new span with a list of tags and a trace id or parent span and pass it to pre filtering. |
start_with_tags/4 | Start a new span with a list of tags, a trace id and parent span id then pass it to pre filtering. |
tag/3 | Add a tag to the span. |
tag/4 | Add a tag to the span with specific service information. |
finish(Pid::pid() | undefined) -> ok
Finish the span and pass it to filtering if it is active
ids(Pid::pid() | undefined) -> {trace_id(), span_id()}
Get the trace id and span id from a span. If the span is inactive
it returns the tuple {0,0}
log(Pid::pid() | undefined, Text::info()) -> ok
Add a log to the span
Add a log to the span with specific service information
start(Name::info()) -> pid()
Start a new span collection process
start(Name::info(), TraceId::trace_id()) -> pid()
Start a new span collection process with an existing trace id or parent span
start(Name::info(), TraceId::trace_id(), ParentId::integer()) -> pid()
Start a new span collection process with an existing trace id and parent span id
Start a new span with a list of tags and pass it to pre filtering.
If the span is active then start a span collection process. For inactive
span the atom undefined
is returned instead of the PID.
start_with_tags(Name::info(), Tags::[tag()], TraceId::trace_id()) -> pid() | undefined
Start a new span with a list of tags and a trace id or parent span
and pass it to pre filtering.
If the span is active then start a span collection process. For inactive
span the atom undefined
is returned instead of the PID.
start_with_tags(Name::info(), Tags::[tag()], TraceId::trace_id(), ParentId::span_id()) -> pid() | undefined
Start a new span with a list of tags, a trace id and parent span id
then pass it to pre filtering.
If the span is active then start a span collection process. For inactive
span the atom undefined
is returned instead of the PID.
Add a tag to the span
Add a tag to the span with specific service information
Generated by EDoc, May 26 2017, 15:36:09.