RI-7437 Rework the visuals of the Slow Log page #5154
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Update the visuals of the Slow Log page to reflect the new Redis UI components
Testing
Welcome screen
You'll see the welcome screen because no data has been collected yet.
Config panel
Config panel for a regular database
You should see a popover with input fields to configure the settings on which the analysis will be performed.
Config panel for a cluster
As a prerequisite, you should spin up a Redis Cluster and connect to it.
Download OpenVPN client (link)
Go to
/tests/e2eand start the following Docker containerdocker-compose -f rte.regression.docker-compose.yml -f rte.networks.docker-compose.yml -f vpn.docker-compose.yml upGo to Redis Insight and open the Databases page
Connect to a new database instance via the following connection string
127.0.0.1:8200Go to the Analyze tab in the main navbar
Go to the Slow Log tab
Click on the Configure button in the top right corner
You should see a popover with details that you can configure the individual cluster nodes only.
Analysis screen with slog logs data
You should see the Slow Log table filled with details for the queries that were performed under the hood
Clear logs