diff --git a/Changes b/Changes index 6412542..46143b3 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ Revision history for OpenTelemetry +{{$NEXT}} + 0.024 2024-10-11 18:36:41+01:00 Europe/London * Expand test coverage and documentation for logging code diff --git a/lib/Log/Any/Adapter/OpenTelemetry.pm b/lib/Log/Any/Adapter/OpenTelemetry.pm index ea9e4ff..7e4ba0a 100644 --- a/lib/Log/Any/Adapter/OpenTelemetry.pm +++ b/lib/Log/Any/Adapter/OpenTelemetry.pm @@ -4,7 +4,7 @@ use strict; use warnings; use experimental 'signatures'; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use Log::Any::Adapter::Util (); use OpenTelemetry qw( otel_config otel_span_from_context otel_logger_provider ); diff --git a/lib/OpenTelemetry.pm b/lib/OpenTelemetry.pm index d5a0e6d..38820d9 100644 --- a/lib/OpenTelemetry.pm +++ b/lib/OpenTelemetry.pm @@ -5,7 +5,7 @@ use strict; use warnings; use experimental qw( isa signatures ); -our $VERSION = '0.024'; +our $VERSION = '0.025'; use Mutex; use OpenTelemetry::Common; diff --git a/lib/OpenTelemetry/Attributes.pm b/lib/OpenTelemetry/Attributes.pm index 1036325..11f0ebe 100644 --- a/lib/OpenTelemetry/Attributes.pm +++ b/lib/OpenTelemetry/Attributes.pm @@ -3,7 +3,7 @@ use Object::Pad ':experimental(init_expr)'; package OpenTelemetry::Attributes; -our $VERSION = '0.024'; +our $VERSION = '0.025'; class OpenTelemetry::AttributeMap { use Log::Any; diff --git a/lib/OpenTelemetry/Baggage.pm b/lib/OpenTelemetry/Baggage.pm index 16e6c05..8522f4d 100644 --- a/lib/OpenTelemetry/Baggage.pm +++ b/lib/OpenTelemetry/Baggage.pm @@ -9,7 +9,7 @@ my $BAGGAGE_KEY = OpenTelemetry::Context->key('baggage'); package OpenTelemetry::Baggage::Entry; -our $VERSION = '0.024'; +our $VERSION = '0.025'; class OpenTelemetry::Baggage::Entry { field $value :param :reader; diff --git a/lib/OpenTelemetry/Common.pm b/lib/OpenTelemetry/Common.pm index 59d86ed..170c488 100644 --- a/lib/OpenTelemetry/Common.pm +++ b/lib/OpenTelemetry/Common.pm @@ -3,7 +3,7 @@ package # ABSTRACT: Utility package with shared functions for OpenTelemetry -our $VERSION = '0.024'; +our $VERSION = '0.025'; use strict; use warnings; diff --git a/lib/OpenTelemetry/Constants.pm b/lib/OpenTelemetry/Constants.pm index 7625484..7c41456 100644 --- a/lib/OpenTelemetry/Constants.pm +++ b/lib/OpenTelemetry/Constants.pm @@ -1,6 +1,6 @@ package OpenTelemetry::Constants; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use Scalar::Util (); diff --git a/lib/OpenTelemetry/Context.pm b/lib/OpenTelemetry/Context.pm index 24c884c..7f67b06 100644 --- a/lib/OpenTelemetry/Context.pm +++ b/lib/OpenTelemetry/Context.pm @@ -4,7 +4,7 @@ use Object::Pad ':experimental(init_expr)'; package OpenTelemetry::Context::Key; -our $VERSION = '0.024'; +our $VERSION = '0.025'; class OpenTelemetry::Context::Key { use UUID::URandom 'create_uuid'; diff --git a/lib/OpenTelemetry/Exporter.pm b/lib/OpenTelemetry/Exporter.pm index 1f37146..c811587 100644 --- a/lib/OpenTelemetry/Exporter.pm +++ b/lib/OpenTelemetry/Exporter.pm @@ -3,7 +3,7 @@ use Object::Pad; package OpenTelemetry::Exporter; -our $VERSION = '0.024'; +our $VERSION = '0.025'; role OpenTelemetry::Exporter { method export; diff --git a/lib/OpenTelemetry/Integration.pm b/lib/OpenTelemetry/Integration.pm index ff6857c..6646d9c 100644 --- a/lib/OpenTelemetry/Integration.pm +++ b/lib/OpenTelemetry/Integration.pm @@ -1,7 +1,7 @@ package OpenTelemetry::Integration; # ABSTRACT: Top-level interface for OpenTelemetry integrations -our $VERSION = '0.024'; +our $VERSION = '0.025'; use experimental 'signatures'; diff --git a/lib/OpenTelemetry/Integration/DBI.pm b/lib/OpenTelemetry/Integration/DBI.pm index 2241ac0..0ec1e8e 100644 --- a/lib/OpenTelemetry/Integration/DBI.pm +++ b/lib/OpenTelemetry/Integration/DBI.pm @@ -1,7 +1,7 @@ package OpenTelemetry::Integration::DBI; # ABSTRACT: OpenTelemetry integration for DBI -our $VERSION = '0.024'; +our $VERSION = '0.025'; use strict; use warnings; diff --git a/lib/OpenTelemetry/Integration/HTTP/Tiny.pm b/lib/OpenTelemetry/Integration/HTTP/Tiny.pm index 196721b..6ae8eac 100644 --- a/lib/OpenTelemetry/Integration/HTTP/Tiny.pm +++ b/lib/OpenTelemetry/Integration/HTTP/Tiny.pm @@ -1,7 +1,7 @@ package OpenTelemetry::Integration::HTTP::Tiny; # ABSTRACT: OpenTelemetry integration for HTTP::Tiny -our $VERSION = '0.024'; +our $VERSION = '0.025'; use strict; use warnings; diff --git a/lib/OpenTelemetry/Integration/LWP/UserAgent.pm b/lib/OpenTelemetry/Integration/LWP/UserAgent.pm index 4734e2d..325831f 100644 --- a/lib/OpenTelemetry/Integration/LWP/UserAgent.pm +++ b/lib/OpenTelemetry/Integration/LWP/UserAgent.pm @@ -1,7 +1,7 @@ package OpenTelemetry::Integration::LWP::UserAgent; # ABSTRACT: OpenTelemetry integration for LWP::UserAgent -our $VERSION = '0.024'; +our $VERSION = '0.025'; use strict; use warnings; diff --git a/lib/OpenTelemetry/Integration/namespace.pm b/lib/OpenTelemetry/Integration/namespace.pm index 56cbb6e..721bce7 100644 --- a/lib/OpenTelemetry/Integration/namespace.pm +++ b/lib/OpenTelemetry/Integration/namespace.pm @@ -2,7 +2,7 @@ package OpenTelemetry::Integration::namespace; # ABSTRACT: OpenTelemetry integration for a namespace -our $VERSION = '0.024'; +our $VERSION = '0.025'; use strict; use warnings; diff --git a/lib/OpenTelemetry/Logs/LogRecord/Processor.pm b/lib/OpenTelemetry/Logs/LogRecord/Processor.pm index 520a4ab..5e15909 100644 --- a/lib/OpenTelemetry/Logs/LogRecord/Processor.pm +++ b/lib/OpenTelemetry/Logs/LogRecord/Processor.pm @@ -3,7 +3,7 @@ use Object::Pad; package OpenTelemetry::Logs::LogRecord::Processor; -our $VERSION = '0.024'; +our $VERSION = '0.025'; role OpenTelemetry::Logs::LogRecord::Processor :does(OpenTelemetry::Processor) { method on_emit; diff --git a/lib/OpenTelemetry/Logs/Logger.pm b/lib/OpenTelemetry/Logs/Logger.pm index 0a8dd62..257f4b7 100644 --- a/lib/OpenTelemetry/Logs/Logger.pm +++ b/lib/OpenTelemetry/Logs/Logger.pm @@ -3,7 +3,7 @@ use Object::Pad; package OpenTelemetry::Logs::Logger; -our $VERSION = '0.024'; +our $VERSION = '0.025'; # TODO: Should this implement an interface like that of Mojo::Log # or Log::Any? It would mean that writing adapters like diff --git a/lib/OpenTelemetry/Logs/LoggerProvider.pm b/lib/OpenTelemetry/Logs/LoggerProvider.pm index b6df7d8..66b77fe 100644 --- a/lib/OpenTelemetry/Logs/LoggerProvider.pm +++ b/lib/OpenTelemetry/Logs/LoggerProvider.pm @@ -3,7 +3,7 @@ use Object::Pad; package OpenTelemetry::Logs::LoggerProvider; -our $VERSION = '0.024'; +our $VERSION = '0.025'; class OpenTelemetry::Logs::LoggerProvider { use OpenTelemetry::Logs::Logger; diff --git a/lib/OpenTelemetry/Processor.pm b/lib/OpenTelemetry/Processor.pm index 9a7af5c..c7142a2 100644 --- a/lib/OpenTelemetry/Processor.pm +++ b/lib/OpenTelemetry/Processor.pm @@ -3,7 +3,7 @@ use Object::Pad; package OpenTelemetry::Processor; -our $VERSION = '0.024'; +our $VERSION = '0.025'; # NOTE: Moving this here creates a nice symmetry where we have # OpenTelemetry::{Propagator,Processor,Exporter} at the top-level diff --git a/lib/OpenTelemetry/Propagator.pm b/lib/OpenTelemetry/Propagator.pm index 8127131..28e40c8 100644 --- a/lib/OpenTelemetry/Propagator.pm +++ b/lib/OpenTelemetry/Propagator.pm @@ -3,7 +3,7 @@ use Object::Pad; package OpenTelemetry::Propagator; -our $VERSION = '0.024'; +our $VERSION = '0.025'; role OpenTelemetry::Propagator { method extract; diff --git a/lib/OpenTelemetry/Propagator/Baggage.pm b/lib/OpenTelemetry/Propagator/Baggage.pm index cfa491d..21106dc 100644 --- a/lib/OpenTelemetry/Propagator/Baggage.pm +++ b/lib/OpenTelemetry/Propagator/Baggage.pm @@ -3,7 +3,7 @@ use Object::Pad; package OpenTelemetry::Propagator::Baggage; -our $VERSION = '0.024'; +our $VERSION = '0.025'; class OpenTelemetry::Propagator::Baggage :does(OpenTelemetry::Propagator) { use OpenTelemetry; diff --git a/lib/OpenTelemetry/Propagator/Composite.pm b/lib/OpenTelemetry/Propagator/Composite.pm index 4e190f0..c9cd2fc 100644 --- a/lib/OpenTelemetry/Propagator/Composite.pm +++ b/lib/OpenTelemetry/Propagator/Composite.pm @@ -3,7 +3,7 @@ use Object::Pad; package OpenTelemetry::Propagator::Composite; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use Log::Any; my $logger = Log::Any->get_logger( category => 'OpenTelemetry' ); diff --git a/lib/OpenTelemetry/Propagator/None.pm b/lib/OpenTelemetry/Propagator/None.pm index 5c39876..cec39e2 100644 --- a/lib/OpenTelemetry/Propagator/None.pm +++ b/lib/OpenTelemetry/Propagator/None.pm @@ -1,7 +1,7 @@ package OpenTelemetry::Propagator::None; # ABSTRACT: A context propagator for OpenTelemetry that does nothing -our $VERSION = '0.024'; +our $VERSION = '0.025'; use parent 'OpenTelemetry::Propagator::TextMap'; diff --git a/lib/OpenTelemetry/Propagator/TextMap.pm b/lib/OpenTelemetry/Propagator/TextMap.pm index 45a80a8..85869bf 100644 --- a/lib/OpenTelemetry/Propagator/TextMap.pm +++ b/lib/OpenTelemetry/Propagator/TextMap.pm @@ -5,7 +5,7 @@ use experimental 'signatures'; package OpenTelemetry::Propagator::TextMap; -our $VERSION = '0.024'; +our $VERSION = '0.025'; sub SETTER { sub ( $carrier, $key, $value ) { $carrier->{$key} = $value; return } diff --git a/lib/OpenTelemetry/Propagator/TraceContext.pm b/lib/OpenTelemetry/Propagator/TraceContext.pm index 4b1e8b5..8de4a64 100644 --- a/lib/OpenTelemetry/Propagator/TraceContext.pm +++ b/lib/OpenTelemetry/Propagator/TraceContext.pm @@ -3,7 +3,7 @@ use Object::Pad; package OpenTelemetry::Propagator::TraceContext; -our $VERSION = '0.024'; +our $VERSION = '0.025'; class OpenTelemetry::Propagator::TraceContext :does(OpenTelemetry::Propagator) { use experimental 'isa'; diff --git a/lib/OpenTelemetry/Propagator/TraceContext/TraceFlags.pm b/lib/OpenTelemetry/Propagator/TraceContext/TraceFlags.pm index df96250..f6b75c0 100644 --- a/lib/OpenTelemetry/Propagator/TraceContext/TraceFlags.pm +++ b/lib/OpenTelemetry/Propagator/TraceContext/TraceFlags.pm @@ -3,7 +3,7 @@ use Object::Pad ':experimental(init_expr)'; package OpenTelemetry::Propagator::TraceContext::TraceFlags; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use Log::Any; my $logger = Log::Any->get_logger( category => 'OpenTelemetry' ); diff --git a/lib/OpenTelemetry/Propagator/TraceContext/TraceParent.pm b/lib/OpenTelemetry/Propagator/TraceContext/TraceParent.pm index 48a6df7..2fbde37 100644 --- a/lib/OpenTelemetry/Propagator/TraceContext/TraceParent.pm +++ b/lib/OpenTelemetry/Propagator/TraceContext/TraceParent.pm @@ -3,7 +3,7 @@ use Object::Pad ':experimental(init_expr)'; package OpenTelemetry::Propagator::TraceContext::TraceParent; -our $VERSION = '0.024'; +our $VERSION = '0.025'; class OpenTelemetry::Propagator::TraceContext::TraceParent { use OpenTelemetry::X; diff --git a/lib/OpenTelemetry/Propagator/TraceContext/TraceState.pm b/lib/OpenTelemetry/Propagator/TraceContext/TraceState.pm index 913c4f5..c91450d 100644 --- a/lib/OpenTelemetry/Propagator/TraceContext/TraceState.pm +++ b/lib/OpenTelemetry/Propagator/TraceContext/TraceState.pm @@ -3,7 +3,7 @@ use Object::Pad; package OpenTelemetry::Propagator::TraceContext::TraceState; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use Log::Any; my $logger = Log::Any->get_logger( category => 'OpenTelemetry' ); diff --git a/lib/OpenTelemetry/Trace.pm b/lib/OpenTelemetry/Trace.pm index e76790b..134be24 100644 --- a/lib/OpenTelemetry/Trace.pm +++ b/lib/OpenTelemetry/Trace.pm @@ -1,7 +1,7 @@ package OpenTelemetry::Trace; # ABSTRACT: Generic methods for the OpenTelemetry Tracing API -our $VERSION = '0.024'; +our $VERSION = '0.025'; use strict; use warnings; diff --git a/lib/OpenTelemetry/Trace/Event.pm b/lib/OpenTelemetry/Trace/Event.pm index 406052c..eb4f49a 100644 --- a/lib/OpenTelemetry/Trace/Event.pm +++ b/lib/OpenTelemetry/Trace/Event.pm @@ -3,7 +3,7 @@ use Object::Pad ':experimental(init_expr)'; package OpenTelemetry::Trace::Event; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use Log::Any; my $logger = Log::Any->get_logger( category => 'OpenTelemetry' ); diff --git a/lib/OpenTelemetry/Trace/Link.pm b/lib/OpenTelemetry/Trace/Link.pm index 89016b1..fd82d27 100644 --- a/lib/OpenTelemetry/Trace/Link.pm +++ b/lib/OpenTelemetry/Trace/Link.pm @@ -3,7 +3,7 @@ use Object::Pad ':experimental(init_expr)'; package OpenTelemetry::Trace::Link; -our $VERSION = '0.024'; +our $VERSION = '0.025'; class OpenTelemetry::Trace::Link :does(OpenTelemetry::Attributes) { use experimental 'isa'; diff --git a/lib/OpenTelemetry/Trace/Span.pm b/lib/OpenTelemetry/Trace/Span.pm index 4340f2d..37d10ff 100644 --- a/lib/OpenTelemetry/Trace/Span.pm +++ b/lib/OpenTelemetry/Trace/Span.pm @@ -5,7 +5,7 @@ package OpenTelemetry::Trace::Span; use OpenTelemetry::Trace::SpanContext; -our $VERSION = '0.024'; +our $VERSION = '0.025'; class OpenTelemetry::Trace::Span { field $context :param :reader //= OpenTelemetry::Trace::SpanContext->new; diff --git a/lib/OpenTelemetry/Trace/Span/Processor.pm b/lib/OpenTelemetry/Trace/Span/Processor.pm index ba97e3a..056e254 100644 --- a/lib/OpenTelemetry/Trace/Span/Processor.pm +++ b/lib/OpenTelemetry/Trace/Span/Processor.pm @@ -3,7 +3,7 @@ use Object::Pad; package OpenTelemetry::Trace::Span::Processor; -our $VERSION = '0.024'; +our $VERSION = '0.025'; role OpenTelemetry::Trace::Span::Processor :does(OpenTelemetry::Processor) { method on_start; diff --git a/lib/OpenTelemetry/Trace/Span/Status.pm b/lib/OpenTelemetry/Trace/Span/Status.pm index 9cc4aa5..bf70ed8 100644 --- a/lib/OpenTelemetry/Trace/Span/Status.pm +++ b/lib/OpenTelemetry/Trace/Span/Status.pm @@ -3,7 +3,7 @@ use Object::Pad ':experimental(init_expr)'; package OpenTelemetry::Trace::Span::Status; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use Log::Any; my $logger = Log::Any->get_logger( category => 'OpenTelemetry' ); diff --git a/lib/OpenTelemetry/Trace/SpanContext.pm b/lib/OpenTelemetry/Trace/SpanContext.pm index 238dbc2..8ac69a6 100644 --- a/lib/OpenTelemetry/Trace/SpanContext.pm +++ b/lib/OpenTelemetry/Trace/SpanContext.pm @@ -3,7 +3,7 @@ use Object::Pad ':experimental(init_expr)'; package OpenTelemetry::Trace::SpanContext; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use OpenTelemetry::Common; use OpenTelemetry::Propagator::TraceContext::TraceFlags; diff --git a/lib/OpenTelemetry/Trace/Tracer.pm b/lib/OpenTelemetry/Trace/Tracer.pm index b4b3ffe..c5c9acc 100644 --- a/lib/OpenTelemetry/Trace/Tracer.pm +++ b/lib/OpenTelemetry/Trace/Tracer.pm @@ -3,7 +3,7 @@ use Object::Pad; package OpenTelemetry::Trace::Tracer; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use Log::Any; my $logger = Log::Any->get_logger( category => 'OpenTelemetry' ); diff --git a/lib/OpenTelemetry/Trace/TracerProvider.pm b/lib/OpenTelemetry/Trace/TracerProvider.pm index 7844122..6f06b25 100644 --- a/lib/OpenTelemetry/Trace/TracerProvider.pm +++ b/lib/OpenTelemetry/Trace/TracerProvider.pm @@ -3,7 +3,7 @@ use Object::Pad; package OpenTelemetry::Trace::TracerProvider; -our $VERSION = '0.024'; +our $VERSION = '0.025'; class OpenTelemetry::Trace::TracerProvider { use OpenTelemetry::Trace::Tracer; diff --git a/lib/OpenTelemetry/X.pm b/lib/OpenTelemetry/X.pm index 1c82771..29dd11e 100644 --- a/lib/OpenTelemetry/X.pm +++ b/lib/OpenTelemetry/X.pm @@ -1,6 +1,6 @@ package OpenTelemetry::X; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use X::Tiny; use parent 'X::Tiny::Base'; diff --git a/lib/OpenTelemetry/X/Invalid.pm b/lib/OpenTelemetry/X/Invalid.pm index 37b57df..78fc5a6 100644 --- a/lib/OpenTelemetry/X/Invalid.pm +++ b/lib/OpenTelemetry/X/Invalid.pm @@ -1,6 +1,6 @@ package OpenTelemetry::X::Invalid; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use parent 'OpenTelemetry::X'; diff --git a/lib/OpenTelemetry/X/Parsing.pm b/lib/OpenTelemetry/X/Parsing.pm index 51afe3c..8738add 100644 --- a/lib/OpenTelemetry/X/Parsing.pm +++ b/lib/OpenTelemetry/X/Parsing.pm @@ -1,6 +1,6 @@ package OpenTelemetry::X::Parsing; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use parent 'OpenTelemetry::X'; diff --git a/lib/OpenTelemetry/X/Unsupported.pm b/lib/OpenTelemetry/X/Unsupported.pm index c28c49e..20f5ce8 100644 --- a/lib/OpenTelemetry/X/Unsupported.pm +++ b/lib/OpenTelemetry/X/Unsupported.pm @@ -1,6 +1,6 @@ package OpenTelemetry::X::Unsupported; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use parent 'OpenTelemetry::X'; diff --git a/lib/Test2/Tools/OpenTelemetry.pm b/lib/Test2/Tools/OpenTelemetry.pm index a573c77..3233f7d 100644 --- a/lib/Test2/Tools/OpenTelemetry.pm +++ b/lib/Test2/Tools/OpenTelemetry.pm @@ -1,7 +1,7 @@ package Test2::Tools::OpenTelemetry; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use Exporter 'import'; our @EXPORT = qw(