OpenTelemetry::Propagator::None - A context propagator for OpenTelemetry that does nothing
use OpenTelemetry::Propagator::None; my $propagator = OpenTelemetry::Propagator::None->new; # Does nothing :( my $carrier = {}; $propagator->inject( $carrier, $context ); # Still nothing :( my $new_context = $propagator->extract( $carrier, $context );
This package defines a no-op propagator class that implements the OpenTelemetry::Propagator interface.
$propagator = OpenTelemetry::Propagator::None->new
Constructs a new instance of this propagator. This propagator will do nothing.
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.
To install OpenTelemetry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenTelemetry
CPAN shell
perl -MCPAN -e shell install OpenTelemetry
For more information on module installation, please visit the detailed CPAN module installation guide.