Skip to content

Commit

Permalink
ui: add transaction deadlocks graph to the SQL dashboard
Browse files Browse the repository at this point in the history
Any time these are non-zero should be a cause for concern, just like
full table scans. Show these on a graph in the DB console.

Epic: none

Release note: None
  • Loading branch information
arulajmani committed Jun 21, 2024
1 parent ff17d09 commit c4a909f
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,27 @@ export default function (props: GraphDashboardProps) {
</Axis>
</LineGraph>,

<LineGraph
title="Transaction Deadlocks"
isKvGraph={false}
sources={nodeSources}
tenantSource={tenantSource}
tooltip={`The total number of transaction per second; typically, should be 0 ${tooltipSelection}.`}
showMetricsInTooltip={true}
>
<Axis label="transaction deadlocks per second">
{map(nodeIDs, node => (
<Metric
key={node}
name="cr.store.txnwaitqueue.deadlocks_total"
title={nodeDisplayName(nodeDisplayNameByID, node)}
sources={[node]}
nonNegativeRate
/>
))}
</Axis>
</LineGraph>,

<LineGraph
title="Active Flows for Distributed SQL Statements"
isKvGraph={false}
Expand Down

0 comments on commit c4a909f

Please sign in to comment.