From 6471ebe18d75adb1423a9aea3dcb472265078cec Mon Sep 17 00:00:00 2001 From: Jess Archer Date: Fri, 1 Dec 2023 22:10:18 +1000 Subject: [PATCH] Rename SystemStats recorder --- config/pulse.php | 10 +++++----- src/Recorders/{SystemStats.php => Servers.php} | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) rename src/Recorders/{SystemStats.php => Servers.php} (99%) diff --git a/config/pulse.php b/config/pulse.php index 6150fd3e..fbfc06e6 100644 --- a/config/pulse.php +++ b/config/pulse.php @@ -160,6 +160,11 @@ ], ], + Recorders\Servers::class => [ + 'server_name' => env('PULSE_SERVER_NAME', gethostname()), + 'directories' => explode(':', env('PULSE_SERVER_DIRECTORIES', '/')), + ], + Recorders\SlowJobs::class => [ 'enabled' => env('PULSE_SLOW_JOBS_ENABLED', true), 'sample_rate' => env('PULSE_SLOW_JOBS_SAMPLE_RATE', 1), @@ -202,11 +207,6 @@ ], ], - Recorders\SystemStats::class => [ - 'server_name' => env('PULSE_SERVER_NAME', gethostname()), - 'directories' => explode(':', env('PULSE_DIRECTORIES', '/')), - ], - Recorders\UserJobs::class => [ 'enabled' => env('PULSE_USER_JOBS_ENABLED', true), 'sample_rate' => env('PULSE_USER_JOBS_SAMPLE_RATE', 1), diff --git a/src/Recorders/SystemStats.php b/src/Recorders/Servers.php similarity index 99% rename from src/Recorders/SystemStats.php rename to src/Recorders/Servers.php index 13d76809..52c47603 100644 --- a/src/Recorders/SystemStats.php +++ b/src/Recorders/Servers.php @@ -11,7 +11,7 @@ /** * @internal */ -class SystemStats +class Servers { /** * The events to listen for.