Skip to content

Commit

Permalink
Remove emitting of Metrics
Browse files Browse the repository at this point in the history
Part of getsentry/sentry-php#1786, though we can get this one merged any time.
  • Loading branch information
cleptric authored Nov 5, 2024
1 parent 8550265 commit fe040bf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Sentry/Laravel/Integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -121,8 +121,6 @@ public static function flushEvents(): void
if ($client !== null) {
$client->flush();
}

metrics()->flush();
}

/**
Expand Down

0 comments on commit fe040bf

Please sign in to comment.