Commit 46314a3
committed
ui: avoid duplicate metrics for single-store nodes
When focused on a single node, some DB console graphs show per-store metrics
with an additional graph aggregating across the node's stores. In the common
case of a single-store node, the aggregated metric and the per-store metric are
the same and make the graph more difficult to parse. This commit updates these
graphs to only include the aggregated metric if a node has more than one store.
Epic: none
Release note: none1 parent 262a1d6 commit 46314a3
File tree
1 file changed
+18
-10
lines changed- pkg/ui/workspaces/db-console/src/views/cluster/containers/nodeGraphs/dashboards
1 file changed
+18
-10
lines changedLines changed: 18 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
64 | 79 | | |
65 | 80 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 81 | + | |
74 | 82 | | |
75 | 83 | | |
0 commit comments