From fe040bf114819ac737f4f893113fa4484066fbbc Mon Sep 17 00:00:00 2001 From: Michi Hoffmann Date: Tue, 5 Nov 2024 09:42:38 +0100 Subject: [PATCH] Remove emitting of Metrics Part of https://github.com/getsentry/sentry-php/pull/1786, though we can get this one merged any time. --- 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(); } /**