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

Add either a setting or command to get query metrics #51

Closed
ingenthr opened this issue Sep 28, 2020 · 1 comment
Closed

Add either a setting or command to get query metrics #51

ingenthr opened this issue Sep 28, 2020 · 1 comment

Comments

@ingenthr
Copy link
Contributor

At the moment, when one issues a query, there are no metrics for how long the query took to execute or how many rows it returns. Since this may be in the way of the pipeline, perhaps it'd be fine to stash the metrics or out-of-rows metadata somewhere for fetching with another command.

query "SELECT foo FROM bar LIMIT 1"
  (…pipeline renders table)
query lastmetrics
  (…pipeline renders table)

There might be better solutions too, like a setting for getting metrics in the pipeline too which I think will generate another output. Or a flag and a setting.

@Westwooo
Copy link
Contributor

This will be solved with the addition of the metrics flag in: #295

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

2 participants