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: #118875

Release note: None
  • Loading branch information
lyang24 committed Feb 22, 2024
1 parent 04f0416 commit 1fca1f6
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 1fca1f6

Please sign in to comment.