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

Send an e-mail report for failed scheduled queries #3797

Closed
rauchy opened this issue May 14, 2019 · 0 comments
Closed

Send an e-mail report for failed scheduled queries #3797

rauchy opened this issue May 14, 2019 · 0 comments
Assignees

Comments

@rauchy
Copy link
Contributor

rauchy commented May 14, 2019

Currently, when scheduled queries fail (due to error or timeout), users don't receive any notification about it. We should send out an aggregated e-mail to the organization admin with information on failures, which should include for each failure:

  1. Which query failed
  2. When it failed
  3. What is the failure

Notes:

  • This feature should be turned off by default and can be turned on with a setting, in order to avoid surprises when upgrading.
  • We should default to an hourly e-mail, and the frequency should be configurable.
  • If a query failed over threshold times, don't report it.
  • If a query failed over 75% of threshold times, mention in the e-mail that this query will soon be unreported.
  • threshold should be configurable.
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

1 participant