Skip to content

Too easy to accidentally schedule queries for long periods that cost a lot of money #949

@wlach

Description

@wlach

(filing this on mozilla's redash fork because the details are particular to us)

A couple months ago I did some brainstorming on how to reduce our Athena spend via redash queries:

https://docs.google.com/document/d/1fZDxl-BiB_OXu5NEEMrWmviNy2y3B8iu_MBQHycaAtQ/edit#heading=h.3kudzbqcx32n

As you probably saw, the iodide dashboard (internal only, sorry) + my nagging led to a substantial decrease in cost. But I think we should try to implement some of the suggested ideas in that doc as well, in particular @chutten suggestions about expiry seem valuable.

I think some combination of the following would be super helpful:

  • Warn about scheduling too often (> once per day)
  • Mandatory expiry of queries (with an email warning ala atmo) after some time interval, say 6 months, unless renewed.

There are other things we could also do (e.g. put a dollar figure in the query window, like GCP does) but I think this is a good place to start.

It seems like the latest version of redash already has some notion of query expiry judging from this issue:

getredash#3375

It doesn't seem like that's deployed though? I'm guessing this feature doesn't include the two suggestions above either?

/cc @rafrombrc @jezdez @washort

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions