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(); } /**