Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
66972: ui: add full table/index scan count chart in SQL Metrics page r=Azhng a=Azhng

Resolves cockroachdb#64217

Release note (ui change): introducing full table/index scan time series
 chart in SQL Metrics page.

Co-authored-by: Azhng <[email protected]>
  • Loading branch information
craig[bot] and Azhng committed Jul 9, 2021
2 parents 64cedaf + a7bc74b commit c4abae9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pkg/ui/src/views/cluster/containers/nodeGraphs/dashboards/sql.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,24 @@ export default function (props: GraphDashboardProps) {
</Axis>
</LineGraph>,

<LineGraph
title="Full Table/Index Scans"
sources={nodeSources}
tooltip={`The total number of full table/index scans ${tooltipSelection}.`}
>
<Axis label="full scans">
{_.map(nodeIDs, (node) => (
<Metric
key={node}
name="cr.node.sql.full.scan.count"
title={nodeDisplayName(nodesSummary, node)}
sources={[node]}
downsampleMax
/>
))}
</Axis>
</LineGraph>,

<LineGraph
title="Active Flows for Distributed SQL Statements"
tooltip="The number of flows on each node contributing to currently running distributed SQL statements."
Expand Down

0 comments on commit c4abae9

Please sign in to comment.