Upgrade Guide
Upgrading to 4.0 from 2.x or 3.x
Estimated Upgrade Time: Five Minutes
We attempt to document every possible breaking change. Since some of these breaking changes are in hidden parts of the library only a portion of these changes may actually affect your application.
Updating dependencies
Update your inspector-apm/inspector-laravel
dependency to ^4.4
in your composer.json
file.
Update packages in your application by:
Change Inspector URL
The url of Inspetor ingestion system was changed a few month ago, so if you have published the inspector.php
configuration file in the config directory be sure that the url
parameter is set to: https://ingest.inspector.dev
Change the env viariable name
In the previous package version you have installed the KEY to enable data transfer from your server to Inspector API in the application's environment file:
The name of this environment variable was changed as INSPECTOR_INGESTION_KEY
, so be sure to change the .env
file as below:
What's new
A redesigned version of our Middleware to provide better support for http requests ignoring.
Add new segments using a callback in one line of code.
Some improvements on metrics collection.
Last updated