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:

composer update

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:

INSPECTOR_API_KEY=xxx

The name of this environment variable was changed as INSPECTOR_INGESTION_KEY, so be sure to change the .env file as below:

INSPECTOR_INGESTION_KEY=xxx

What's new

Last updated