Skip to content

Commit

Permalink
dbconsole: additional higher granularity metrics for overload
Browse files Browse the repository at this point in the history
This patch adds additional metrics to the overload page that allow for
more granular look at the system:
- cr.store.storage.l0-sublevels
- cr.node.go.scheduler_latency-p99.9

Informs #121572.

Release note (ui change): Two additional metrics on the overload page
for better visibility into overloaded resources:
- cr.store.storage.l0-sublevels
- cr.node.go.scheduler_latency-p99.9
  • Loading branch information
aadityasondhi committed May 7, 2024
1 parent 5faf8b3 commit cce4580
Showing 1 changed file with 45 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,28 @@ export default function (props: GraphDashboardProps) {
</Axis>
</LineGraph>,

<LineGraph
title="Goroutine Scheduling Latency: 99.9th percentile"
sources={nodeSources}
tenantSource={tenantSource}
tooltip={`P99.9 scheduling latency for goroutines. A value above 1ms typically indicates high load.`}
showMetricsInTooltip={true}
>
<Axis units={AxisUnits.Duration} label="latency">
{nodeIDs.map(nid => (
<>
<Metric
key={nid}
name="cr.node.go.scheduler_latency-p99.9"
title={nodeDisplayName(nodeDisplayNameByID, nid)}
sources={[nid]}
downsampleMax
/>
</>
))}
</Axis>
</LineGraph>,

<LineGraph
title="Runnable Goroutines per CPU"
sources={nodeSources}
Expand All @@ -321,5 +343,28 @@ export default function (props: GraphDashboardProps) {
))}
</Axis>
</LineGraph>,

<LineGraph
title="LSM L0 Sublevels"
sources={storeSources}
tenantSource={tenantSource}
tooltip={`Number of sublevels in L0 of the LSM. A sustained value above 10 typically indicates that the store is overloaded.`}
showMetricsInTooltip={true}
>
<Axis label="Count">
{nodeIDs.map(nid => (
<>
<Metric
key={nid}
name="cr.store.storage.l0-sublevels"
title={
"L0 Sublevels " + nodeDisplayName(nodeDisplayNameByID, nid)
}
sources={storeIDsForNode(storeIDsByNodeID, nid)}
/>
</>
))}
</Axis>
</LineGraph>,
];
}

0 comments on commit cce4580

Please sign in to comment.