https://prefect.io logo
Title
m

Mike O'Connor

01/03/2023, 2:55 PM
In Prefect 1, we could send custom notifications from code. I see in Prefect 2 there is emerging support for notifications for specific applications. Will we be able to customize this? Or more to the point, are there any plans for Sentry support? I specifically want to be able to capture any errors and report them to Sentry. Ideally this would include capturing errors occurring during submission of a flow run as well (e.g. flow code could not be retrieved from storage).
j

Jean-Michel Provencher

01/03/2023, 3:14 PM
I've created a custom block for Sentry in my enterprise however it does not support errors related to prefect (flow submissions for example)
j

Jeff Hale

01/04/2023, 12:43 AM
@Jean-Michel Provencher would you be interested in contributing your Sentry block as part of a collection? There’s a how-to guide here. To your question, @Mike O'Connor I’m not sure, but I’ve noted internally that’s there’s interest re: Sentry and notifications.
:gratitude-thank-you: 1
j

Jean-Michel Provencher

01/04/2023, 12:56 AM
might look into that eventually. I first need to write a blog post about it 😄
🙌 2