-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
release-22.2: add connected components for insights #90860
Merged
ericharmeling
merged 7 commits into
cockroachdb:release-22.2
from
ericharmeling:backport22.2-88419-90250-90403-90481-90784
Oct 28, 2022
Merged
release-22.2: add connected components for insights #90860
ericharmeling
merged 7 commits into
cockroachdb:release-22.2
from
ericharmeling:backport22.2-88419-90250-90403-90481-90784
Oct 28, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This commit adds connected components for the workload and schema insights pages, for use in the CC Console. Fixes cockroachdb#87693. Release note: None
This commit refactors the statement insight details page component from a class component to a functional component. Release note: None
Closes cockroachdb#88093 This commit adds a new tab to the statement insight details page. The page is now separated into two tabs: 1. Overview - what was already on the page (insights details) 2. Explain Plan - the explain plan for the stmt being viewed Release note (ui change): new tab view added to the stmt insight details page: 1. Overview - what was already on the page (insights details) 2. Explain Plan - the explain plan for the stmt being viewed
Now from the Insights page, clicking on the statement or fingerprint ids, it will bring you to their respective details page. This commit also filter out transaction insights that didn't have their value set yet (meaning they're still 0). Finally, this commit fixes the start/end values being passed to the combined statement endpoint, to the correct rounded values, aligning what we say on the UI. Fixes cockroachdb#87750 Release note (ui change): The fingerprint id values for statement and transactions on the insights pages are links that open the respective details page on the time period of the execution of that statement/transaction. Release note (bug fix): Sendind the proper start/end values to the endpoint used on SQL Activity page, now returning the full hour as described on the UI.
This commit adds a useEffect hook to the statement insight details page that refreshes the statement insights store when it's empty. Fixes cockroachdb#90385. Release note: None
… selector This commit simplifies the insights sagas by moving the insights store refresh interval to the components and removing the root-level reset saga. The commit also updates the SQL query for the transaction contention events to not JOIN with the internal insights table, and to filter out all unresolved txn fingerprint IDs. The commit also properly handles the case in which no columns are selected. Fixes cockroachdb#90142. Release note: None
Thanks for opening a backport. Please check the backport criteria before merging:
If some of the basic criteria cannot be satisfied, ensure that the exceptional criteria are satisfied within.
Add a brief release justification to the body of your PR to justify this backport. Some other things to consider:
|
ericharmeling
changed the title
release-22.2: TODO
release-22.2: add connected components for insights
Oct 28, 2022
This commit adds a new column `implicit_txn` (boolean) to: - `crdb_internal.cluster_execution_insights` - `crdb_internal.node_execution_insights` Part Of cockroachdb#87750 Release note (sql change): Adds a new column `implicit_txn` (boolean) to `crdb_internal.cluster_execution_insights` and `crdb_internal.node_execution_insights`
maryliag
approved these changes
Oct 28, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 1 of 0 LGTMs obtained
This was referenced Oct 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Backport:
Please see individual PRs for details.
/cc @cockroachdb/release
Release justification: Bug fixes and low-risk updates to new functionality
Here's a loom of CC console built on the
cluster-ui
from this branch, and on https://github.com/cockroachlabs/managed-service/pull/10097, with the value forimplicit_txn
hardcoded (this column is added in #90100): https://www.loom.com/share/65ec1daa345d41089e6a3a60a866a703