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

Testing and alerting #38

Open
matt-winkler opened this issue Dec 6, 2022 · 4 comments
Open

Testing and alerting #38

matt-winkler opened this issue Dec 6, 2022 · 4 comments

Comments

@matt-winkler
Copy link

Curious whether the brains behind this excellent package have considered building data tests / alerts on top of the base analytical cost data currently being logged here. I've taken a few steps in this direction in one of my private projects, and would love to collaborate if anyone is interested!

@ian-whitestone
Copy link
Contributor

hey @matt-winkler! thanks for opening the issue. Can you share some more details on what types of tests / alerts you have in mind?

@matt-winkler
Copy link
Author

matt-winkler commented Dec 7, 2022

Hi @ian-whitestone, broadly thinking a few different flavors:

  • Basic: write a dbt test to alert when total spend crosses X in the past 7 / 30 days
  • Intermediate: dbt test to alert when someone runs incremental with the full refresh flag more than X times
  • Advanced: feed cost data to a python model and forecast future spend

@ian-whitestone
Copy link
Contributor

@matt-winkler these are neat ideas, we hadn't put much thought into this since we figured users would configure their own custom alerts on top of this package with whatever tool they preferred.

With that said, I think if we had some optional tests that users could configure with their own parameters, that would be quite useful.

This could be a neat way to showcase dbt tests / alerts if you're interested in contributing!

@mike-luabase
Copy link

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