The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

OpenTracing::Span - represents an operation or parent operation

DESCRIPTION

The reference definition for a span is a good starting point for understanding these:

https://opentracing.io/docs/overview/spans/

trace_id

The trace ID for this span. Multiple spans are grouped under a single trace.

id

The span ID. This should be unique.

parent_id

Parent span ID. 0 if there isn't one.

flags

Any flags relating to this span.

start_time

Exact time this span started, in microseconds.

duration

Total duration of this span, including any nested spans.

operation_name

The operation that this span represents.

tags

The tags relating to this span.

batch

The OpenTracing::Batch instance that this span belongs to.

tag_list

A list of tags as OpenTracing::Tag instances.

logs

The arrayref of log entries for this span, as OpenTracing::Log instances.

log_list

A list of log entries for this span, as OpenTracing::Log instances.

log

Records a single log message.

finish

Mark this span as finished (populating the "duration" field).

INHERITED METHODS

OpenTracing::Common

new

AUTHOR

Tom Molesworth <TEAM@cpan.org>

LICENSE

Copyright Tom Molesworth 2018-2019. Licensed under the same terms as Perl itself.