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:
1
composer update
Copied!

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:
1
INSPECTOR_API_KEY=xxx
Copied!
The name of this environment variable was changed as INSPECTOR_INGESTION_KEY, so be sure to change the .env file as below:
1
INSPECTOR_INGESTION_KEY=xxx
Copied!

What's new

Last modified 1yr ago