Skip to content

Commit

Permalink
Merge #44445
Browse files Browse the repository at this point in the history
44445: ui: Display SQL Connections metrics per node basis r=dhartunian a=Koorosh

Previously, SQL Connections graph displayed aggregated information for
all nodes. It is changed to display number of connections per node.

Co-authored-by: Andrii Vorobiov <[email protected]>
  • Loading branch information
craig[bot] and koorosh committed Feb 5, 2020
2 parents 662ab28 + c823817 commit 9026f88
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,17 @@ export default function (props: GraphDashboardProps) {
tooltip={`The total number of active SQL connections ${tooltipSelection}.`}
>
<Axis label="connections">
<Metric name="cr.node.sql.conns" title="Client Connections" />
{
_.map(nodeIDs, (node) => (
<Metric
key={node}
name="cr.node.sql.conns"
title={nodeDisplayName(nodesSummary, node)}
sources={[node]}
downsampleMax
/>
))
}
</Axis>
</LineGraph>,

Expand Down

0 comments on commit 9026f88

Please sign in to comment.