Module otter_span_pdict_api

This API uses the process dictionary to collect span information and can be used when all span tags an events happen in the same request handling process.

Description

This API uses the process dictionary to collect span information and can be used when all span tags an events happen in the same request handling process.

Function Index

finish/0
finish/1This is provided purely for API compatibility with the otter_span_api module.
get/0
ids/0
ids/1This is provided purely for API compatibility with the otter_span_api module.
log/1
log/2
start/1
start/2
start/3
tag/2
tag/3

Function Details

finish/0

finish() -> ok

finish/1

finish(Span::span()) -> ok

This is provided purely for API compatibility with the otter_span_api module

get/0

get() -> span()

ids/0

ids() -> {trace_id(), span_id()}

ids/1

ids(Span::span()) -> {trace_id(), span_id()}

This is provided purely for API compatibility with the otter_span_api module

log/1

log(Text::info()) -> span()

log/2

log(Text::info(), Service::service()) -> span()

start/1

start(Name::info()) -> span()

start/2

start(Name::info(), TraceId::trace_id()) -> span()

start/3

start(Name::info(), TraceId::trace_id(), ParentId::span_id()) -> span()

tag/2

tag(Key::info(), Value::info()) -> span()

tag/3

tag(Key::info(), Value::info(), Service::service()) -> span()


Generated by EDoc, Apr 14 2017, 04:39:45.