NAME

OpenTelemetry::Exporter::OTLP::Traces - An OpenTelemetry Protocol span exporter

SYNOPSIS

use OpenTelemetry;
use OpenTelemetry::Exporter::OTLP::Traces;
use OpenTelemetry::SDK::Trace::Span::Processor::Batch;

# Use it with a span processor
my $processor = OpenTelemetry::SDK::Trace::Span::Processor::Batch->new(
    exporter => OpenTelemetry::Exporter::OTLP::Traces->new( ... ),
);

# Register it with the OpenTelemetry tracer provider
OpenTelemetry->tracer_provider->add_span_processor($processor);

DESCRIPTION

This module is an alias for OpenTelemetry::Exporter::OTLP, so please refer to that module for details. This module is provided for consistency with OpenTelemetry::Exporter::OTLP::Logs.

SEE ALSO

OpenTelemetry::Exporter::OTLP
OpenTelemetry::Exporter::OTLP::Logs

ACKNOWLEDGEMENTS

Special thanks to CV-Library Ltd. for their support in the development of this library.

COPYRIGHT AND LICENSE

This software is copyright (c) 2024 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.