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 #124078.

Informs #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 f755d86 commit 7258e95
Showing 1 changed file with 23 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,36 @@ 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
key={nid}
name="cr.node.admission.granter.io_tokens_exhausted_duration.kv"
title={"IO Exhausted " + nodeDisplayName(nodeDisplayNameByID, nid)}
sources={[nid]}
nonNegativeRate
/>
<>
<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.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 7258e95

Please sign in to comment.