finish/1 | Finish collection of span information and invoke the span filter unless the span is marked as inactive (timestamp set to 0). |
get_span/1 | Get the span from the process dictionary. |
ids/1 | Return the trace id and span id of the span in the process dictionary in a tuple. |
log/2 | Add a log to the span in the process dictionary. |
log/3 | Add a log with specific service to the span in the process dictionary. |
put_span/1 | Put a span to the process dictionary. |
start/1 | start a new span on the process dictionary of the current process. |
start/2 | start a new span on the process dictionary of the current process with an existing trace id or parent span. |
start/3 | start a new span on the process dictionary of the current process with an existing trace_id and parent_id. |
start_with_tags/2 | start a new span with a list of tags on the process dictionary of the current process and invoke the pre filter. |
start_with_tags/3 | start a new span with a list of tags on the process dictionary of the current process with an existing trace id or parent span. |
start_with_tags/4 | start a new span with a list of tags on the process dictionary of the current process with an existing trace_id and parent_id. |
tag/3 | Add a tag to the span in the process dictionary. |
tag/4 | Add a tag with specific service to the span in the process dictionary. |
finish(Name::info()) -> ok
Finish collection of span information and invoke the span filter unless the span is marked as inactive (timestamp set to 0)
Get the span from the process dictionary. If there is no active span, return an empty one with timestamp set to 0
ids(Name::info()) -> {trace_id(), span_id()}
Return the trace id and span id of the span in the process dictionary in a tuple. If there is no active span, return tuple {0, 0}
Add a log to the span in the process dictionary. If the span is not active, a "fake" span is returned with timestamp set to 0.
Add a log with specific service to the span in the process dictionary. If the span is not active, a "fake" span is returned with timestamp set to 0.
put_span(Span::span()) -> term()
Put a span to the process dictionary. This can be used e.g. when taking over a span started with the functional API.
start a new span on the process dictionary of the current process
start(Name::info(), TraceId::trace_id()) -> span()
start a new span on the process dictionary of the current process with an existing trace id or parent span.
start(Name::info(), TraceId::trace_id(), ParentId::span_id()) -> span()
start a new span on the process dictionary of the current process with an existing trace_id and parent_id
start a new span with a list of tags on the process dictionary of the current process and invoke the pre filter
start_with_tags(Name::info(), Tags::[tag()], TraceId::trace_id()) -> span()
start a new span with a list of tags on the process dictionary of the current process with an existing trace id or parent span.
start_with_tags(Name::info(), Tags::[tag()], TraceId::trace_id(), ParentId::span_id()) -> span()
start a new span with a list of tags on the process dictionary of the current process with an existing trace_id and parent_id
Add a tag to the span in the process dictionary. If the span is not active, a fake/empty span is returned with the default values and timestamp set to 0.
Add a tag with specific service to the span in the process dictionary. If the span is not active, a "fake" span is returned with the default values and timestamp set to 0.
Generated by EDoc, May 26 2017, 15:36:09.