Spida45
10/07/2024, 1:53 PMMarvin
10/07/2024, 1:54 PMSpida45
10/07/2024, 1:55 PMMarvin
10/07/2024, 2:02 PMprefect.deployment.ready
and prefect.deployment.not-ready
, which would allow you to trigger notifications based on these status changes.
Here are some key points from the related GitHub issues and pull requests:
1. A proposal exists to create deployment status events that would notify users when a deployment's status changes from ready to not ready (and vice versa), which can be used to automate notifications for deployment health (GitHub Issue).
2. A pull request has been merged to emit these events and persist deployment status in the database (GitHub PR).
These features would allow you to set up automations or scripts that listen to these events and, in turn, notify you through your preferred communication channel (e.g., Slack, email, etc.).
For further support, you might want to explore Prefect's event logging or look into integrations that can consume and act on these emitted events once they're publicly documented and available in your current deployment environment.Spida45
10/07/2024, 2:37 PMMarvin
10/07/2024, 2:37 PMNate
10/07/2024, 2:41 PMNate
10/07/2024, 2:42 PMSpida45
10/07/2024, 2:50 PMNate
10/07/2024, 2:51 PMHi @Nate we are using prefect hosted and not using work pools. we are using a service.hmm im not sure what you mean by a service
Spida45
10/07/2024, 2:53 PMNate
10/07/2024, 2:54 PM.serve
- thanks!
I think you can use deployment status directly instead of work pool status then - Marvin is sometimes wrong, and in this case I think deployment status is ready to useNate
10/07/2024, 2:55 PM