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

Investigate options for dbt failure notifications #415

Open
1 of 3 tasks
jkarpen opened this issue Oct 25, 2024 · 9 comments
Open
1 of 3 tasks

Investigate options for dbt failure notifications #415

jkarpen opened this issue Oct 25, 2024 · 9 comments
Assignees

Comments

@jkarpen
Copy link
Collaborator

jkarpen commented Oct 25, 2024

Goal for this issue is to explore different options for having dbt cloud failure notifications go to a space where multiple team members (including client agencies ideally) can triage and assign the fix.

  • Slack integration (failure creates a Slack message visible to the whole DSE team)
  • Teams notification (failure creates a Teams message, may require having a shared email group, ideally this would also be visible to agency teams) (Not currently viable)
  • Email notification (the failure sends to a shared email group with both DSE and client staff CC'd) <- lower priority, Slack/Teams are preferred options.
@summer-mothwood
Copy link

@britt-allen I ran into this tutorial for using dbt webhooks for sending notifications to Teams when troubleshooting the Slack integration -- do we already use Zapier (or any other web automation tool that can work with webhooks)? https://docs.getdbt.com/guides/zapier-ms-teams?step=1

@summer-mothwood
Copy link

Looking more into dbt Cloud's webhook capabilities (and reviewing @ram-kishore-odi 's write up for Andrew on a somewhat similar issue) -- it looks like Microsoft Teams has some built-in functionality for subscribing to webhooks, too, so we might not even need the Zapier intermediate step!

@britt-allen
Copy link
Contributor

We could send an email to a channel if we were not on the 365 Gov't plan... Image

@britt-allen
Copy link
Contributor

This option could work, but I cannot install the required app because I had to make a request which I imagine goes to an Admin at GovOps. Lots of our ability to explore is blocked by ODI not having its own Microsoft license yet.

@britt-allen
Copy link
Contributor

I have checked off Teams as not viable for now.

@summer-mothwood
Copy link

I'm looking into setting up Slack notification in dbt cloud. The first step is to set up Slack as an Account Integration in dbt Cloud. When I try to click through here
Image

I get this error
Image

Looking into it further (using these instructions https://docs.getdbt.com/docs/deploy/job-notifications#slack-notifications), I notice the docs say

You must be an account admin to configure Slack notifications in dbt Cloud.

I tried changing my license to an IT license, but still got the same error. @britt-allen do you know if one of us is an account admin on the dbt cloud account that has elevated privileges for that kind of thing? or should I put in a request ticket with dbt?

@britt-allen
Copy link
Contributor

Let me give it a try!

@britt-allen
Copy link
Contributor

I get the same error as well. I think this is because how IT has setup our dbt account, I'd go to our IT team first before opening a ticket with dbt @summer-mothwood

@summer-mothwood
Copy link

Thanks for looking into it @britt-allen !! I'll reach out to IT -- we'll need a system admin on the Slack side to complete the next steps anyway, so I'll ask them about that while I'm at it too

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