From 152c04114ab9fced9a3bbdf53d51f92bbe0c50c0 Mon Sep 17 00:00:00 2001 From: Austen McClernon Date: Fri, 22 Sep 2023 14:59:30 +0000 Subject: [PATCH] dbconsole: add tooltop to replication dash ranges chart 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. --- .../cluster/containers/nodeGraphs/dashboards/replication.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/ui/workspaces/db-console/src/views/cluster/containers/nodeGraphs/dashboards/replication.tsx b/pkg/ui/workspaces/db-console/src/views/cluster/containers/nodeGraphs/dashboards/replication.tsx index 6475f22bbc33..a462ab89badd 100644 --- a/pkg/ui/workspaces/db-console/src/views/cluster/containers/nodeGraphs/dashboards/replication.tsx +++ b/pkg/ui/workspaces/db-console/src/views/cluster/containers/nodeGraphs/dashboards/replication.tsx @@ -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.`} >