sentry-laravel icon indicating copy to clipboard operation
sentry-laravel copied to clipboard

Notification and email performance spans and/or breadcrumbs

Open stayallive opened this issue 2 years ago • 2 comments

We could listen to the Illuminate\Mail\Events\MessageSending and Illuminate\Mail\Events\MessageSent events to figure out when an mail was sent and possibly nest the view rendering needed to sent that e-mail neatly underneath a mail span.

We could potentially also add a breadcrumb indicating an email was sent by the framework.

The same goes for notifications (which could trigger e-mails) with Illuminate\Notifications\Events\NotificationSending and Illuminate\Notifications\Events\NotificationSent.

stayallive avatar Dec 14 '22 11:12 stayallive

@stayallive Any plans for automated cron job monitoring?

https://docs.sentry.io/product/crons/getting-started/ https://laravel.com/docs/9.x/scheduling#events

ankurk91 avatar Dec 22 '22 12:12 ankurk91