- INHERITED METHODS
The following documentation is automatically generated. Please do not edit this file, but rather the original, inline with OpenTracing::Batch at lib/OpenTracing/Batch.pm (on the system that originally ran this). If you do edit this file, and don't want your changes to be removed, make sure you change the first line.
OpenTracing::Batch - represents a group of zero or more spans
A batch of spans is used for submitting results to an opentracing endpoint.
Returns the OpenTracing::Process that this batch applies to. Each batch is submitted from a single process.
Returns an arrayref of OpenTracing::Span instances.
Returns a list of OpenTracing::Span instances.
Adds a new OpenTracing::Span instance to this batch.
This is most likely to be the method you'll want for working with spans in user code.
Triggers callbacks when the batch is discarded. Normally used by the transport mechanism to ensure that the batch is sent over to the tracing endpoint.
Tom Molesworth <TEAM@cpan.org>
Copyright Tom Molesworth 2018-2020. Licensed under the same terms as Perl itself.