-
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
insights bug: transaction overview page duplicate insights #91914
Comments
@j82w That's expected right now since there are no execution details available for txns with high contention as their insight. One option is to just not show these fields when they're not available. |
@xinhaoz should it is say |
@j82w |
Fixes cockroachdb#91914 Fixes cockroachdb#91915 Fixes cockroachdb#91927 Fixes for txn insights: - De-duplicate txn contention insights labels in overview page for high contention - Remove query column for statement details and single stmt transactions - Include statement query for a txn insight recommendation if there are multiple stmts in the txn being reported Release note (ui change): Query column in insight recs table removed. Instead, stmt is included in the description if the txn being reported has multiple stmts.
@maryliag should it say 'N/A' when there is no info or 'no sample' in the top summary card? |
if the reason is because we don't have the value (because we didn't collected on trace for example) use |
Sounds good, I'll update to |
91955: cluster-ui: transaction insights bug fixes r=xinhaoz a=xinhaoz Fixes #91914 Fixes #91915 Fixes #91927 This commit fixes txn insights bugs and adds unit tests for utils used by the insights pages. Fixes for txn insights: - De-duplicate txn contention insights labels in overview page for high contention - Remove query column for statement details and single stmt transactions - Include statement query for a txn insight recommendation if there are multiple stmts in the txn being reported Release note (ui change): Query column in insight recs table removed. Instead, stmt is included in the description if the txn being reported has multiple stmts. This txn has multiple stmts: <img width="1678" alt="image" src="https://user-images.githubusercontent.com/20136951/202526318-601587ea-8b2c-4708-b058-b24cad66c71d.png"> Ths txn has 1 stmt: <img width="1736" alt="image" src="https://user-images.githubusercontent.com/20136951/202040846-f02faecf-0c68-4b2c-bca3-ac813ac94a3a.png"> No change to stmts (but query col is removed everywhere): <img width="1734" alt="image" src="https://user-images.githubusercontent.com/20136951/202040904-d21c1ed3-ed91-4cf7-b77e-bc74736f7d44.png"> Co-authored-by: Xin Hao Zhang <[email protected]>
This was reproduced with a clean branch. The insight "high contention" appears twice when it should only be there once.
Jira issue: CRDB-21483
The text was updated successfully, but these errors were encountered: