https://dagster.io/ logo
#dagster-cloud
Title
# dagster-cloud
g

geoHeil

06/16/2023, 6:30 AM
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

daniel

06/16/2023, 2:12 PM
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
2 Views