https://dagster.io/ logo
Title
j

Josh Taylor

11/30/2022, 2:02 AM
Is there an easier way to add a hook to all jobs? Right now I'm having to add them to every job which is tedious. For example I'm building a datadog hook which sends job info on success to datadog, or alerts when it fails with job/op context. But I need to add this to every job. At a certain point I'll probably just need to make a custom
@job
for our codebase, right?
:dagster-bot-responded-by-community: 1
a

Adam Bloom

11/30/2022, 4:19 AM
Look at run status sensors - https://docs.dagster.io/concepts/partitions-schedules-sensors/sensors#run-status-sensors (don’t think there’s a built in sensor for successes only, but easy enough to ignore other statuses)