Skip to content

Commit

Permalink
dbconsole: add elastic io token exhausted duration to overload page
Browse files Browse the repository at this point in the history
This patch adds the metric `elastic_io_tokens_exhausted_duration.kv`
introduced in cockroachdb#124078.

Informs cockroachdb#121572.

Release note (ui change): The `Admission IO Tokens Exhausted` chart now
separates elastic and regular io work.
  • Loading branch information
aadityasondhi committed May 17, 2024
1 parent 8a475d7 commit d47a6d6
Showing 1 changed file with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,30 @@ export default function (props: GraphDashboardProps) {
</LineGraph>,

<LineGraph
title="KV Admission IO Tokens Exhausted Duration Per Second"
title="Admission IO Tokens Exhausted Duration Per Second"
sources={nodeSources}
tenantSource={tenantSource}
showMetricsInTooltip={true}
tooltip={`Relative time the node had exhausted IO tokens for all IO-bound work per second of wall time, measured in microseconds/second. Increased IO token exhausted duration indicates IO resource exhaustion.`}
>
<Axis label="Duration (micros/sec)">
{nodeIDs.map(nid => (
<Metric
<>
<Metric
key={nid}
name="cr.node.admission.granter.io_tokens_exhausted_duration.kv"
title={"Regular (Foreground) IO Exhausted " + nodeDisplayName(nodeDisplayNameByID, nid)}
sources={[nid]}
nonNegativeRate
/>
<Metric
key={nid}
name="cr.node.admission.granter.io_tokens_exhausted_duration.kv"
title={"IO Exhausted " + nodeDisplayName(nodeDisplayNameByID, nid)}
name="cr.node.admission.granter.elastic_io_tokens_exhausted_duration.kv"
title={"Elastic (Background) IO Exhausted " + nodeDisplayName(nodeDisplayNameByID, nid)}
sources={[nid]}
nonNegativeRate
/>
/>
</>
))}
</Axis>
</LineGraph>,
Expand Down

0 comments on commit d47a6d6

Please sign in to comment.