NAME

OpenTelemetry::SDK::Trace::Tracer - A Tracer for the OpenTelemetry SDK

SYNOPSIS

use OpenTelemetry;
use OpenTelemetry::SDK;

my $tracer = OpenTelemetry->tracer_provider->tracer;
my $span = $tracer->create_span(...);

DESCRIPTION

This module provides a class that extends OpenTelemetry::Trace::Tracer and can be used to create instances of OpenTelemetry::SDK::Trace::Span.

The only supported way to create instances of this class is via OpenTelemetry::SDK::Trace::TracerProvider. Please refer to that module's documentation for more details.

METHODS

This class extends OpenTelemetry::Trace::Tracer and exposes the same API as in that module. Please refer to that module's documentation for details.

SEE ALSO

OpenTelemetry::Trace::Tracer
OpenTelemetry::SDK::Trace::Span
OpenTelemetry::SDK::Trace::TracerProvider

COPYRIGHT AND LICENSE

This software is copyright (c) 2023 by José Joaquín Atria.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.