OpenTra...::Zipkin(3)
π¦ OpenTracing::Protocol::Zipkin(3) β the Perl manual page, bestie edition π
okay so this is a User Contributed Perl Documentation page for OpenTracing::Protocol::Zipkin(3) and it's literally the support system for the Zipkin v2 JSON representation of OpenTracing data. yes that's a mouthful, no I will not be shortening it, it's iconic. π
β¨ NAME β¨
OpenTracing::Protocol::Zipkin β support for Zipkin v2 JSON representation of OpenTracing data π«Ά
πΈ DESCRIPTION πΈ
See <https://zipkin.io/zipkin-api/#/default/post_spans> for details on the current format. that's the canonical source, go look at it, iykyk π
π bytes_from_span
Returns the given data structure as a bytestream containing a JSON UTF-8 representation, as defined by Zipkin, Datadog and other providers. so yeah, it hands you back bytes. bytes with vibes. β
The resulting JSON will have at most the following keys β like, these are the only ones that can show up, no surprise guests:
"id"β the span ID π₯"traceId"β the trace ID β¨"parentId"β this trace's parent ID π"localEndpoint"β where this span was running π"remoteEndpoint"β the remote connection that this span was involved with π¦"annotations"β any timestamp annotations relating to this span π"tags"β any key/value pairs relating to this span π
π§ span_from_bytes
Takes a bytestring containing UTF-8-encoded JSON data, and returns a Perl hashref representing a span. that's it, that's the whole thing. bytes in, hashref out, main character energy π
ngl the "at most" up there is doing real work β don't go assuming every key is always present, bestie. π
π AUTHOR π
Tom Molesworth "<TEAM@cpan.org>" β thank you king π
π LICENSE π
Copyright Tom Molesworth 2018-2021. Licensed under the same terms as Perl itself. periodt. π
1;
okay that 1; at the end? that's just Perl being Perl, it has to return true so the module loads. iconic behaviour honestly. π
and that's a wrap, bestie β this page came from perl v5.42.2, dated 2026-02-15, filed under OpenTra...::Zipkin(3). slay, go forth and trace your spans π§π
π¦ where this page comes from
- alpine 3.24: perl-opentracing-doc 1.006-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms