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.
Update your
inspector-apm/inspector-laravel
dependency to ^4.4
in your composer.json
file.Update packages in your application by:
composer update
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.devChange 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
- Some improvements on metrics collection.
Last modified 2yr ago