Skip to content

Commit

Permalink
ui: add charts on gc assist metric
Browse files Browse the repository at this point in the history
This commit adds a line chart contains gc assist duration on the runtime page.
The goal is to present the estimated time user go routines spend on assisting
gc tasks.

Informs: cockroachdb#118875

Release note: None
  • Loading branch information
lyang24 authored and nicktrav committed Sep 5, 2024
1 parent 8eb0631 commit df69132
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,23 @@ export default function (props: GraphDashboardProps) {
</Axis>
</LineGraph>,

<LineGraph
title="GC Assist Time"
sources={nodeSources}
tenantSource={tenantSource}
tooltip={`Estimated total CPU time user goroutines spent performing GC tasks on processors
${tooltipSelection}.`}
showMetricsInTooltip={true}
>
<Axis units={AxisUnits.Duration} label="gc assist time">
<Metric
name="cr.node.sys.gc.assist.ns"
title="GC Assist Time"
nonNegativeRate
/>
</Axis>
</LineGraph>,

<LineGraph
title="CPU Time"
sources={nodeSources}
Expand Down

0 comments on commit df69132

Please sign in to comment.