From 840daabafaefd01280e0b27674d1d054bc08ae11 Mon Sep 17 00:00:00 2001 From: Dean Chen <862469039@qq.com> Date: Wed, 22 Jul 2026 15:43:20 +0500 Subject: [PATCH] mixins: rename Grafana dashboard titles for consistency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Nodes → Node (single-node dashboard; matches the USE hierarchy) - USE Method / * → Utilization and Saturation / * USE is not self-explanatory, and these dashboards have no Errors panels, so spell out Utilization and Saturation instead. Dashboard UIDs and filenames are unchanged. Fixes #1828 Signed-off-by: Dean Chen <862469039@qq.com> --- docs/node-mixin/config.libsonnet | 2 +- docs/node-mixin/dashboards/use.libsonnet | 6 +++--- docs/node-mixin/lib/prom-mixin.libsonnet | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/node-mixin/config.libsonnet b/docs/node-mixin/config.libsonnet index ea31b59572..76de2013c5 100644 --- a/docs/node-mixin/config.libsonnet +++ b/docs/node-mixin/config.libsonnet @@ -4,7 +4,7 @@ // Select the metrics coming from the node exporter. Note that all // the selected metrics are shown stacked on top of each other in - // the 'USE Method / Cluster' dashboard. Consider disabling that + // the 'Utilization and Saturation / Cluster' dashboard. Consider disabling that // dashboard if mixing up all those metrics in the same dashboard // doesn't make sense (e.g. because they are coming from different // clusters). diff --git a/docs/node-mixin/dashboards/use.libsonnet b/docs/node-mixin/dashboards/use.libsonnet index 9c219298cd..24b7f09a70 100644 --- a/docs/node-mixin/dashboards/use.libsonnet +++ b/docs/node-mixin/dashboards/use.libsonnet @@ -118,7 +118,7 @@ local diskSpaceUtilisation = grafanaDashboards+:: { 'node-rsrc-use.json': dashboard.new( - '%sUSE Method / Node' % $._config.dashboardNamePrefix, + '%sUtilization and Saturation / Node' % $._config.dashboardNamePrefix, ) + dashboard.time.withFrom('now-1h') + dashboard.withTags($._config.dashboardTags) @@ -189,7 +189,7 @@ local diskSpaceUtilisation = ), 'node-cluster-rsrc-use.json': dashboard.new( - '%sUSE Method / Cluster' % $._config.dashboardNamePrefix, + '%sUtilization and Saturation / Cluster' % $._config.dashboardNamePrefix, ) + dashboard.time.withFrom('now-1h') + dashboard.withTags($._config.dashboardTags) @@ -318,7 +318,7 @@ local diskSpaceUtilisation = if $._config.showMultiCluster then { 'node-multicluster-rsrc-use.json': dashboard.new( - '%sUSE Method / Multi-cluster' % $._config.dashboardNamePrefix, + '%sUtilization and Saturation / Multi-cluster' % $._config.dashboardNamePrefix, ) + dashboard.time.withFrom('now-1h') + dashboard.withTags($._config.dashboardTags) diff --git a/docs/node-mixin/lib/prom-mixin.libsonnet b/docs/node-mixin/lib/prom-mixin.libsonnet index 980baf5b7f..5759c24ca1 100644 --- a/docs/node-mixin/lib/prom-mixin.libsonnet +++ b/docs/node-mixin/lib/prom-mixin.libsonnet @@ -497,7 +497,7 @@ local tableTransformation = table.queryOptions.transformation; dashboard: if platform == 'Linux' then dashboard.new( - '%sNodes' % config.dashboardNamePrefix, + '%sNode' % config.dashboardNamePrefix, ) + dashboard.time.withFrom('now-1h') + dashboard.withTags(config.dashboardTags)