- Support for submitting traces over IPv6
NOTE: If your daemon's hostname has an AAAA record but has a broken IPv6 set-up then you'll need to either remove the AAAA record or fix IPv6 to keep recording traces after this update
- Slashes are no longer escaped when serialising traces, leaving more room for data
- Support for PHP 7.0 has now been removed, with PHP >=7.1 being required from this version onwards. Users who cannot use a newer version of PHP should continue to use 1.3.0, which will continue to receive security fixes for at least 12 months. Users who can use a newer version of PHP are strongly encouraged to upgrade to at least PHP 7.4
- Deprecation errors will no longer be triggered for the return type of
JsonSerializable::jsonSerialize()
under PHP >=8.1
- Allow setting aws.account_id for segments & subsegments
- Use
traced
only for http subsegments
- Default subsegments to an empty array
- Refactored
getCurrentSegment()
to drastically reduce the cost of searching large collections of segments. This may change behaviour in applications which begin earlier segments after later segments (e.g with asynchronous workloads). This can be solved by adding segments to a parent at the pointbegin()
is called rather than before.
- A service's version can be recorded on traces
- A client's IP address and user agent can be recorded on traces
- User identifiers can be recorded on traces
- Annotations and metadata can be added to subsegments and traces
- Traces larger than a single UDP packet will now be fragmented rather than dropped
- Initial release