Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job Notifications #838

Open
IamSandeepGunda opened this issue Aug 19, 2023 Discussed in #831 · 2 comments
Open

Job Notifications #838

IamSandeepGunda opened this issue Aug 19, 2023 Discussed in #831 · 2 comments

Comments

@IamSandeepGunda
Copy link

Discussed in #831

Originally posted by IamSandeepGunda August 8, 2023
We've been exploring the Databricks Notification Destinations and set up a Slack destination to notify on errors and when the job is over it's runtime thresholds.

Is there a way to set these up in the deployment.yml?

Currently, if I set it up on the UI, it's wiped away next time i perform a dbx deploy... to that job.

@stephen-bowser
Copy link

Yep, I've managed this. Grab the ID of your slack endpoint and put it in the config of your workflow:

        webhook_notifications:
          on_failure:
            - id: "xxx"
          on_success:
            - id: "xxx"

@doug-cresswell
Copy link

If you're not sure where to find the id you can add it in the UI, then copy it from the JSON configuration of your workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants