How can I alert on a job in dagster if it is takin...
# dagster-plus
g
How can I alert on a job in dagster if it is taking longer than k seconds? I do have asset SLA activated - but these are set to require the assets to be up-to-date on a daily basis. However, normally the job takes < 15 minutes. Due to some strange infrastructure issues sometimes it takes much longer. I want to be alerted (not for the sake of the asset being fresh) but actually saving usage based cloud fees if something strange is happening (the job taking longer than expected)
d
You can use a tag to make runs fail if they take longer than k seconds: https://docs.dagster.io/deployment/run-monitoring#general-run-timeouts And you can of course set up alerts when runs fail (but we don't yet have a way to set up a dagster cloud alert that only fires when the failure happened for that specific reason)
❤️ 1