Skip to content

Add monitor-queries command which parses qlever-server logs to show the active queries and give a historic view of the queries that were executed#291

Open
tanmay-9 wants to merge 6 commits into
qlever-dev:mainfrom
tanmay-9:monitor-queries-from-log
Open

Add monitor-queries command which parses qlever-server logs to show the active queries and give a historic view of the queries that were executed#291
tanmay-9 wants to merge 6 commits into
qlever-dev:mainfrom
tanmay-9:monitor-queries-from-log

Conversation

@tanmay-9
Copy link
Copy Markdown
Collaborator

Python textual app for the interactive monitor-queries TUI

The app has two tabs:

  1. Live view which tails an active qlever-server log file to show currently-active queries on the server plus rolling metrics
  2. Historic view which parses the log file in a given time window for active queries and metrics.

In both tabs, the user has the option of selecting a particular query and view the full SPARQL query with syntax highlighting plus copy it.
Slow queries that cross the --warn-after threshold are logged in a TSV file for future inspection.

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

Successfully merging this pull request may close these issues.

1 participant