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

Implement getting query_history #246

Open
mattsfuller opened this issue Sep 8, 2016 · 0 comments
Open

Implement getting query_history #246

mattsfuller opened this issue Sep 8, 2016 · 0 comments

Comments

@mattsfuller
Copy link

Similar to presto-admin collect query_info <query_id>, but the entire query history. The query_history is gone after a restart/cluster terminate. So nice to have it available locally for user's reference
For entire history get it from - v1/query
Similar to collect query_info, the user has to collect the query_history he wants before a presto stop/restart.
The output of v1/query is an array of JSON elements, one element per query_id.
Download it as a zip, similar to collect system_info
Another thing (and probably better one) to consider is :
Have query_history integrated to show up in Presto UI along with other monitoring/stats info. (query list on the Presto UI is gone after a server restart at this point)

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