https://prefect.io logo
j

jpuris

08/07/2023, 10:54 AM
Heya! Is there a best practice dealing with failed flows showing in dashboard.. _*Story*_: As a data engineer, I'd like to remove the red (think "alert") flows from the Dashboard and Flow Runs overview, while not loosing the flow. Perhaps some sort of "mark as solved" could be a way?
m

morten

08/07/2023, 11:03 AM
there should be a "the boss s coming in, show only green colors" mode... 😄 well on a serious note, I agree that it would be nice. Then you would know, when you see a red dot on the dashboard, whether it is something new you should be alerted by, or something old, that you already looked at.
b

Brandon Reid

08/07/2023, 12:31 PM
Hmm. Maybe a new "resolved" or "reviewed" state for failed/crashed runs. That could be interesting for sure. I'll share with the team!
🙌 1
d

Deceivious

08/07/2023, 12:58 PM
Wasnt custom state a thing in Prefect 1?
💯 1
j

Jeff Hale

08/07/2023, 8:35 PM
You can change the state of a completed flow via the API. Here’s the info for the Prefect Cloud API docs. That will get rid of the red. We don’t have the ability to do that directly in the UI, but I can see how changing the state to mark a flow run resolved or reviewed could be handy.
gratitude thank you 1
b

Brandon Reid

08/07/2023, 11:52 PM
There are custom State names in prefect 2 as well, to @Deceivious ‘s point
d

Deceivious

08/08/2023, 5:29 AM
j

Jeff Hale

08/08/2023, 3:10 PM
There’s an issue to add it here.