OpenTra...gration(3)

πŸ“¦ version 1.006, in alpine 3.24

πŸ’– NAME πŸ’–

okay so this page is OpenTra...gration(3), and the manual name is User Contributed Perl Documentation β€” folded in right here, bestie 🫢. OpenTracing::Integration is the top-level class for integrating OpenTracing with other Perl modules. Iconic.

✨ SYNOPSIS ✨

Two ways to summon the tracing, depending on the vibe:

# Apply tracing for specific modules
use OpenTracing::Integration qw(HTTP::Tiny DBI);

# Trace every module we know about
use OpenTracing::Integration qw(:all);

πŸ¦‹ DESCRIPTION πŸ¦‹

This is the base rΓ΄le for handling tracing integration with other CPAN modules.

It provides functionality for loading available integrations via the import list on a use statement:

  • with :all, any module that supports OpenTracing will be pulled in, if the module-to-be-traced is already loaded
  • with a specific list of modules, these will be applied unconditionally, loading the modules-to-be-traced as required

This means that you can expect HTTP::Tiny to be traced if you do this:

use OpenTracing::Integration qw(HTTP::Tiny);

or this:

use HTTP::Tiny;
use OpenTracing::Integration qw(:all);

but it will not be traced if you do this:

use OpenTracing::Integration qw(:all);
use HTTP::Tiny;

The reason for this inconsistent behaviour is simple: with a large install, :all might pull in a lot of unwanted modules. Instead, you'd do this at the end of your module imports, and any functionality that you're actively using in the code would gain tracing, if available.

πŸ‘‘ AUTHOR πŸ‘‘

Tom Molesworth β€” "TEAM@cpan.org" πŸ’Œ

🌈 LICENSE 🌈

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


okay that's the whole vibe, bestie πŸŽ€ β€” this page was brought to you by perl v5.42.2, dated 2026-02-15. periodt. πŸ’…

πŸ“¦ where this page comes from