Last updated
Last updated
The Ingestion Key is the only required configuration parameter, but the Inspector package is designed to help you deeply customize the monitoring strategy based on your application needs.
It could be needed to turn off monitoring based on url. Think about paths like /backend
, or other parts of your app that has nothing to do with the user experience.
You can easily ignore these path listing them into the ignoreRoutes
array of app/Config/Inspector.php
configuration file.
You can also use the wildcard character *
to exclude all sub-paths.
You can ignore spark commands adding the command name to the ignoreCommands
property in the app/Config/Inspector.php
configuration file.
You can get the current Inspector instance using the helper function:
Fine tune the CodeInginter monitoring strategy on your needs.