Skip to content

1.4.4: Added ability to filter incoming requests (#45)

Compare
Choose a tag to compare
@viezel viezel released this 27 Dec 06:20
· 4 commits to master since this release
2e7176b
* [BUGFIX] #36

Changed `getCallerClass`, on Backtracer trait to return null if the backtrace is empty.
Changed DatebaseQueryCollector and CacheCollector to add '(too deeply nested)' to their respective segment name, if the caller name is deeper than 50 calls in the backtrace.

Added tests for all affected classes.

* [BUGFIX] #36

Applied suggested diff.

* [BUGFIX] #44

WIP: working on adding support to filter request to capture.

* [BUGFIX] #44

Finished adding support to filter requests.

* [BUGFIX] #44

Added new filtering option to the doc.
Added `addRequestFilterCallback` as an available function on the Xray facade.

* [BUGFIX] #44

Changed XrayServiceProvider to check request in the `boot` function rather than the `registerCollectors`.

* Applied suggested changes.

---------

Co-authored-by: Nicolas D'Amours <nicolas@folkshr.com>