Skip to content

Commit

Permalink
dbconsole: add tooltop to replication dash ranges chart
Browse files Browse the repository at this point in the history
The Ranges chart in the replication dashboard can be easily
misinterpreted when in a single node view, because the per-node metric
is only reported by one node for each range. Most commonly, this is the
leaseholder, and if not, the first replica in the range descriptor.

Add a tooltip which explains this nuance, taken from the
documentation.

Epic: None
Resolves: #111055

Release note (ui change): Added a tooltip to the ranges chart on the
replication dashboard, describing the metric in single vs cluster
view.
  • Loading branch information
kvoli committed Sep 22, 2023
1 parent 8bf5ade commit 152c041
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ export default function (props: GraphDashboardProps) {
title="Ranges"
sources={storeSources}
tenantSource={tenantSource}
tooltip={`Various details about the status of ranges. In the node view,
shows details about ranges the node is responsible for. In the cluster
view, shows details about ranges all across the cluster.`}
>
<Axis label="ranges">
<Metric name="cr.store.ranges" title="Ranges" />
Expand Down

0 comments on commit 152c041

Please sign in to comment.