diff --git a/config/top.php b/config/top.php index 1d111a8..15b95ea 100644 --- a/config/top.php +++ b/config/top.php @@ -1,8 +1,32 @@ env('TOP_REDIS_CONNECTION', 'default'), + + /* + |-------------------------------------------------------------------------- + | Recording Mode + |-------------------------------------------------------------------------- + | + | Determine when Top should record application metrics based on this value. + | By default, Top only listens to your application when it is running. + | If you want to access metrics through the facade, you can select the 'always' mode. + | + | Available Modes: "while_running", "always" + | + */ + + 'recording_mode' => env('TOP_RECORDING_MODE', 'while_running'), ];