https://dagster.io/ logo
#ask-community
Title
# ask-community
h

Huib Keemink

07/06/2022, 6:49 AM
I’m a big fan of the new focus on assets instead of jobs, makes things possible that were quite hard before - that said, what’s the recommended way to “connect” two jobs through assets when they don’t live in the same repo? I can use a sensor, but that doesn’t make it show up in the asset diagram, nor warn me when the upstream changed
dagster bot responded by community 1
h

Huib Keemink

07/06/2022, 6:59 AM
oh wow, completely missed that one, thanks! 🙂
D 2
Is there a way to trigger an alert when an asset hasn’t refreshed in a while?
Imagine I have a job that depends on an asset, but the underlying asset key has changed - I’d like to receive an error after a while telling me something has gone wrong
v

Vinnie

07/06/2022, 10:32 AM
Hm, my first impulse would be to create a sensor that periodically pings the GraphQL API and alerts if a condition is met, but maybe Dagster offers something that I don’t know about?
p

prha

07/06/2022, 3:26 PM
Yeah, I think setting up a schedule to check for out of date assets makes sense for this case.
h

Huib Keemink

07/06/2022, 3:27 PM
would it be possible to do this for the job itself? <alert if job hasn’t run in 48hours>?
p

prha

07/06/2022, 3:29 PM
Yep, you could have a schedule that queries for successful runs by job and alert appropriately
h

Huib Keemink

07/06/2022, 5:25 PM
nice, thanks!
3 Views