Releases: scoutapp/scout-apm-php
Releases · scoutapp/scout-apm-php
5.0.0
Added
- #185 Added support for TCP communication to core-agent via a
tcp://
formatted URI and set as default strategy.
Changed
- #187 [BC] Limit number of spans to 1,500
- Span information collected is hard-limited to 1,500 spans to avoid collecting too much data. A new
notice
will be
emitted into the logger if this happens, and aTagRequest
applied. \Scoutapm\ScoutApmAgent::startSpan
may now returnnull
. A not-null
-check should be performed on the result,
for exampleif ($span !== null) { ... }
.\Scoutapm\ScoutApmAgent::startSpan
now returns a\Scoutapm\Events\Span\SpanReference
which is a new public API
for accessing aSpan
(which is marked@internal
).\Scoutapm\ScoutApmAgent::instrument
,::webTransaction
,::backgroundTransaction
all now acceptcallable
for
their respective$block
parameters instead of\Closure
. Additionally, if a parameter type declaration has been
applied on the givencallable
, they must be updated to accept anull
able?SpanReference
instead of aSpan
.
For example changestatic function (Span $span) { ... }
tostatic function (?SpanReference $span) { ... }
.
- Span information collected is hard-limited to 1,500 spans to avoid collecting too much data. A new
- #183 Try to filter out all
vendor/
files from backtraces
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.