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

Make sure there is an event for any query execution #4051

Merged
merged 2 commits into from
Aug 9, 2019

Conversation

rauchy
Copy link
Contributor

@rauchy rauchy commented Aug 8, 2019

As there are more places we call run_query from, we should move the event recording into run_query.

While we are at it, it's worth logging whether we returned a cached result vs. new execution.

@rauchy rauchy requested a review from arikfr August 8, 2019 19:54
@arikfr arikfr merged commit cf7aef1 into master Aug 9, 2019
@arikfr arikfr deleted the consolidate-run-query-events branch August 9, 2019 12:26
harveyrendell pushed a commit to pushpay/redash that referenced this pull request Nov 14, 2019
* move event recording for query executions inside run_query

* include indication of cache hit or miss inside execute_query events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants