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

feat(web-console): WAL Metrics for tables #352

Draft
wants to merge 119 commits into
base: main
Choose a base branch
from
Draft

Conversation

insmac
Copy link
Contributor

@insmac insmac commented Nov 4, 2024

This PR implements the concept of metrics in the Web Console - in the first iteration WAL-related table data is available for visualization.

To create a new metric dashboard, click on the Add metrics button in the Tables action bar:
Screenshot 2024-11-29 at 14 20 14

Note: Metrics have a different tab color (inactive and selected) than SQL editor ones.

Next, select an available metric widget:
Screenshot 2024-11-29 at 14 20 21

The three metrics that are available in the first iteration are related to a given WAL table, and therefore a table selector will open upon adding. Non-WAL tables which we can't pull data from are grayed out.
Screenshot 2024-11-29 at 14 20 28

Once you define a data source for each widget they immediately start showing data. Metrics are auto refreshed every 30 seconds (provided that the auto refresh feature is enabled in Tables action bar in the left top corner of the screen) and immediately upon bringing the tab back in focus.
Screenshot 2024-11-29 at 14 20 05

Side changes:

QuestDB client has been abstracted out into two pieces: types and the actual code, to improve readability - commit 1026dcc

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