Revision history for OpenTelemetry 0.031 2025-08-22 22:30:09 BST * Make HTTP::Tiny instrumentation more robust against malformed URLs: the code no longer assumes the URLs can be parsed correctly. 0.030 2025-05-07 23:28:24 BST * Fixed some minor formatting errors in OpenTelemetry::Guides::Instrumentation. * The logger used internally now defaults to carping to STDERR at a warning level. The log level can be adjusted by setting the OTEL_PERL_INTERNAL_LOG_LEVEL environment variable to a suitable value. This internal logger is weaker than a regular Log::Any::Adapter and can be modified either by setting a Log::Any::Adapter or the LOG_ANY_DEFAULT_ADAPTER environment variable appropriately. Note that OTEL_PERL_INTERNAL_LOG_LEVEL will be ignored if an adapter is manually set. 0.029 2025-04-05 18:00:22+01:00 Europe/London * Fix an issue introduced in 0.028 that would cause Perl 5.30 to interpret some function calls as indirect method calls and die. 0.028 2025-04-05 13:42:43+01:00 Europe/London * Removed arguments from OpenTelemetry::Context constructors, since these could bypass the key validation. * The 'set' method for OpenTelemetry::Context now accepts multiple pairs, and for consistency the 'delete' method accepts multiple keys. 0.027 2024-12-20 17:31:04+00:00 Europe/London * Fixed some minor nits in the documentation * Add 'isa' as a dependency and reduce the minimum supported Perl version to 5.30. If you are running 5.30 please consider installing Type::Tiny::XS which should improve the performance of these 'isa' checks. 0.026 2024-12-16 09:02:42+00:00 Europe/London * Added some practical documentation in the OpenTelemetry::Guides namespace, based on the language documentation by the OpenTelemtry authors. Examples used in those documents has also been added to the examples directory in this distribution. In the future, this namespace will expand to include more guides. * Renamed OpenTelemetry::Integration namespace to OpenTelemetry::Instrumentation to be consistent with the names in the specification. The legacy namespace will continue to be supported for now, but new implementations should not use it. 0.025 2024-10-20 13:50:19+01:00 Europe/London * Fixed an issue in the integrations for HTTP::Tiny and LWP::UserAgent which meant that if the spans created internally were root spans, their data would not propagate correctly 0.024 2024-10-11 18:36:41+01:00 Europe/London * Expand test coverage and documentation for logging code 0.023001 2024-09-28 14:48:24+01:00 Europe/London (TRIAL RELEASE) * Updated the documentation to remove remaining mentions of the span's 'add_link' method, which was removed to comply with the specification * Add experimental support for logs 0.023 2024-06-03 10:31:57+01:00 Europe/London * Fixed an issue with experimental cleanup where "DBI::db::execute" was replaced with "DBI::db::do" by mistake (GH #17) * Fixed an issue with the versioning of the OpenTelemetry::Baggage module, which has been reporting the same version number since 0.010. (GH #18) 0.022 2024-05-12 20:08:13+01:00 Europe/London * Fixed a minor rendering issue in the documentation of the HTTP integrations, and added a "See Also" section to both. 0.021 2024-05-10 19:21:15+01:00 Europe/London * Leave the status of a span unset on success responses in the HTTP::Tiny and LWP::UserAgent integrations. This behaviour matches the OpenTelemetry specification. * Fixed an issue in the HTTP::Tiny integration where the content size of requests with a content callback was incorrectly reported. It is now not reported at all. * Expand and update documentation of HTTP integrations. 0.020 2024-04-25 18:54:56+01:00 Europe/London * Switch LWP::UserAgent integration to wrap around that module's 'simple_request' method instead of its 'request' method. This should catch some more cases, and fix GH #13. * Added a minimal example application. See the `examples` directory in the distribution files. 0.019 2023-12-03 14:44:05+00:00 Europe/London * Document OpenTelemetry->logger as deprecated, as this will soon be removed to make room for the implementation of the Logs API. * Apply default values appropriately when receiving undefined values * The HTTP::Tiny and LWP::UserAgent integrations inject propagation data as appropriate * Bump dependency on Feature::Compat::Try to 0.05 for finally support in perl versions under 5.35 (GH #11) 0.018 2023-11-23 19:28:38+00:00 Europe/London * Document all shutdown and force_flush methods as async 0.017 2023-11-19 12:39:37+00:00 Europe/London * Undo conditional logic in Tracer's in_span introduced in 0.016. The span is read-only, so we cannot read its status. We now set the status unconditionally, but the user is free to mark the span as ended, in which case the automatically set status will be discarded. 0.016 2023-11-16 23:37:27+00:00 Europe/London * Fix issue tracker link in meta * Try to limit information set as span error descriptions in integrations. Instead of passing in the entire, which could have multiple lines and contextual information, we trim and pass only the first line, without the trailing `at line #` added from eg. plain `die`. This error is still set unmodified as the exception. * Injection and extraction methods for processors catch errors from their callbacks as required by https://opentelemetry.io/docs/specs/otel/error-handling/#guidance * Validate initial values for TraceContext::TraceFlags: they must be in the 0-255 range (inclusive) or they are ignored * The Tracer's experimental in_span interface now automatically sets the status of the span as long as the span's status remains unset at the end of the block 0.015 2023-11-09 23:42:47+00:00 Europe/London * Add -span and -trace export tags to OpenTelemetry::Constants * Add tests for OpenTelemetry::Constants * Add otel_config to OpenTelemetry exportable functions 0.014 2023-11-09 00:01:05+00:00 Europe/London * Add missing documentation for the 'record_exception' method for spans * OpenTelemetry::X errors print stack traces when stringified * Improve the reporting of errors caught in calls to 'in_span' in OpenTelementry::Trace * Minor documentation fixes throughout 0.013 2023-11-07 20:23:49+00:00 Europe/London * Add support for a `details` parameter to the error handler for passing additional structured context data 0.012 2023-11-05 18:29:49+00:00 Europe/London * Fix the documentation for OpenTelemetry::Common::config, which incorrectly stated the order variables are read in * Added otel_untraced_context to OpenTelemetry exportable functions 0.011 2023-11-01 23:18:14+00:00 Europe/London * Added missing documentation for OpenTelemetry::Propagator::TraceContext::TraceState * Publicly index existing OpenTelemetry::Trace::Span::Status * Fix other minor issues in the documentation 0.010 2023-10-31 23:05:38+00:00 Europe/London Added Tracing API implementation. 0.001 2020-06-29 00:03:29+08:00 Asia/Kuala_Lumpur Initial release.