I feel like I should have been able to figure this...
# ask-community
k
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
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
Incredible. Thanks y'all!
FYI the example references an argument
message_fn
but it looks like the arg is actually
text_fn