OpenTra...::Tracer(3)

πŸ“¦ version 1.006, in alpine 3.24

πŸ’– NAME πŸ’–

OpenTracing::Tracer β€” application tracing ✨

Welcome to the OpenTracing::Tracer(3) page from the User Contributed Perl Documentation set, bestie 🫢.


🌸 DESCRIPTION 🌸

Okay so this module is the thing that provides the interface between the OpenTracing API and the tracing service(s) for an application. It's giving "middleware but make it tracing" πŸ’….

Typically a single process would have one tracer instance. One tracer, one vibe, no cap πŸŽ€.


πŸŽ€ METHODS πŸŽ€

✨ process ✨

Returns the current OpenTracing::Process. That's the process object you get back, periodt.

βœ… is_enabled βœ…

Returns true if this tracer is currently enabled. Simple as that, bestie.

πŸ”› enable πŸ”›

Enable the current tracer.

πŸ”΄ disable πŸ”΄

Disable the current tracer.

πŸ¦‹ spans πŸ¦‹

Returns an arrayref of OpenTracing::Span instances.

🌈 span_list 🌈

Returns a list of OpenTracing::Span instances.

πŸŽ€ add_span πŸŽ€

Adds a new OpenTracing::Span instance to the pending list, if we're currently enabled.

πŸ’€ DESTROY πŸ’€

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. Yes, this is the cleanup era 😭.


πŸ‘‘ 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 page, bestie! Signing off with perl v5.42.2, dated 2026-02-15, from OpenTra...::Tracer(3) πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from