From 2690140c21e3bb146f709a3b83054515dee2b9dd Mon Sep 17 00:00:00 2001 From: Michi Hoffmann Date: Tue, 5 Nov 2024 12:08:26 +0100 Subject: [PATCH] Remove emitting of Metrics (#951) --- src/Sentry/Laravel/Integration.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Sentry/Laravel/Integration.php b/src/Sentry/Laravel/Integration.php index 2df00dfe..52e391ce 100644 --- a/src/Sentry/Laravel/Integration.php +++ b/src/Sentry/Laravel/Integration.php @@ -109,7 +109,7 @@ public static function setTransaction(?string $transaction): void } /** - * Block until all events are processed by the PHP SDK client. Also flushes metrics. + * Block until all events are processed by the PHP SDK client. * * @internal This is not part of the public API and is here temporarily until * the underlying issue can be resolved, this method will be removed. @@ -121,8 +121,6 @@ public static function flushEvents(): void if ($client !== null) { $client->flush(); } - - metrics()->flush(); } /**