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

Kevin Haynes

02/15/2022, 11:01 PM
I feel like I should have been able to figure this out on my own, but, alas, here I am. I have a job that has hooks
slack_on_failure
and
slack_on_success
, which I thought would tell me when the job succeeds or fails, but it fires the Slack message when the individual ops succeed or fail. Is there a way to configure it so the hook is "at the job level?"
r

rex

02/15/2022, 11:06 PM
and in
dagster_slack
, alerts on job failures is built out for you in the form of
make_slack_on_run_failure_sensor
https://docs.dagster.io/_apidocs/libraries/dagster-slack#dagster_slack.make_slack_on_run_failure_sensor
❤️ 1
k

Kevin Haynes

02/15/2022, 11:06 PM
Incredible. Thanks y'all!
FYI the example references an argument
message_fn
but it looks like the arg is actually
text_fn
2 Views