From 4a78534999c7fa392af869f22fe837f23bd894fc Mon Sep 17 00:00:00 2001 From: Adrian Coman <1664229+azun@users.noreply.github.com> Date: Mon, 25 Sep 2023 11:51:04 +0300 Subject: [PATCH] Fixed formatting --- dashboards/resources/cluster.libsonnet | 3 ++- dashboards/resources/multi-cluster.libsonnet | 3 ++- dashboards/resources/namespace.libsonnet | 3 ++- dashboards/resources/node.libsonnet | 3 ++- dashboards/resources/pod.libsonnet | 3 ++- dashboards/resources/workload-namespace.libsonnet | 3 ++- dashboards/resources/workload.libsonnet | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/dashboards/resources/cluster.libsonnet b/dashboards/resources/cluster.libsonnet index 11851980d..f3f8b20d9 100644 --- a/dashboards/resources/cluster.libsonnet +++ b/dashboards/resources/cluster.libsonnet @@ -131,7 +131,8 @@ local template = grafana.template; g.dashboard( '%(dashboardNamePrefix)sCompute Resources / Cluster' % $._config.grafanaK8s, uid=($._config.grafanaDashboardIDs['k8s-resources-cluster.json']), - datasource_regex=$._config.datasourceFilterRegex, datasource=$._config.datasourceName, + datasource_regex=$._config.datasourceFilterRegex, + datasource=$._config.datasourceName, ) .addRow( (g.row('Headlines') + diff --git a/dashboards/resources/multi-cluster.libsonnet b/dashboards/resources/multi-cluster.libsonnet index 525920e83..b13276c3c 100644 --- a/dashboards/resources/multi-cluster.libsonnet +++ b/dashboards/resources/multi-cluster.libsonnet @@ -14,7 +14,8 @@ local g = import 'github.com/grafana/jsonnet-libs/grafana-builder/grafana.libson g.dashboard( '%(dashboardNamePrefix)sCompute Resources / Multi-Cluster' % $._config.grafanaK8s, uid=($._config.grafanaDashboardIDs['k8s-resources-multicluster.json']), - datasource_regex=$._config.datasourceFilterRegex, datasource=$._config.datasourceName, + datasource_regex=$._config.datasourceFilterRegex, + datasource=$._config.datasourceName, ).addRow( (g.row('Headlines') + { diff --git a/dashboards/resources/namespace.libsonnet b/dashboards/resources/namespace.libsonnet index 3c0cb7b77..01a9f06b7 100644 --- a/dashboards/resources/namespace.libsonnet +++ b/dashboards/resources/namespace.libsonnet @@ -132,7 +132,8 @@ local template = grafana.template; g.dashboard( '%(dashboardNamePrefix)sCompute Resources / Namespace (Pods)' % $._config.grafanaK8s, uid=($._config.grafanaDashboardIDs['k8s-resources-namespace.json']), - datasource_regex=$._config.datasourceFilterRegex, datasource=$._config.datasourceName, + datasource_regex=$._config.datasourceFilterRegex, + datasource=$._config.datasourceName, ) .addRow( (g.row('Headlines') + diff --git a/dashboards/resources/node.libsonnet b/dashboards/resources/node.libsonnet index 6ea6806d1..55ac10b5d 100644 --- a/dashboards/resources/node.libsonnet +++ b/dashboards/resources/node.libsonnet @@ -39,7 +39,8 @@ local template = grafana.template; g.dashboard( '%(dashboardNamePrefix)sCompute Resources / Node (Pods)' % $._config.grafanaK8s, uid=($._config.grafanaDashboardIDs['k8s-resources-node.json']), - datasource_regex=$._config.datasourceFilterRegex, datasource=$._config.datasourceName, + datasource_regex=$._config.datasourceFilterRegex, + datasource=$._config.datasourceName, ) .addRow( g.row('CPU Usage') diff --git a/dashboards/resources/pod.libsonnet b/dashboards/resources/pod.libsonnet index 704eb1a8c..6e8832de4 100644 --- a/dashboards/resources/pod.libsonnet +++ b/dashboards/resources/pod.libsonnet @@ -103,7 +103,8 @@ local template = grafana.template; g.dashboard( '%(dashboardNamePrefix)sCompute Resources / Pod' % $._config.grafanaK8s, uid=($._config.grafanaDashboardIDs['k8s-resources-pod.json']), - datasource_regex=$._config.datasourceFilterRegex, datasource=$._config.datasourceName, + datasource_regex=$._config.datasourceFilterRegex, + datasource=$._config.datasourceName, ) .addRow( g.row('CPU Usage') diff --git a/dashboards/resources/workload-namespace.libsonnet b/dashboards/resources/workload-namespace.libsonnet index 53773335f..d8b062c89 100644 --- a/dashboards/resources/workload-namespace.libsonnet +++ b/dashboards/resources/workload-namespace.libsonnet @@ -164,7 +164,8 @@ local template = grafana.template; g.dashboard( '%(dashboardNamePrefix)sCompute Resources / Namespace (Workloads)' % $._config.grafanaK8s, uid=($._config.grafanaDashboardIDs['k8s-resources-workloads-namespace.json']), - datasource_regex=$._config.datasourceFilterRegex, datasource=$._config.datasourceName, + datasource_regex=$._config.datasourceFilterRegex, + datasource=$._config.datasourceName, ) .addRow( g.row('CPU Usage') diff --git a/dashboards/resources/workload.libsonnet b/dashboards/resources/workload.libsonnet index 746a084c2..a2581cc3d 100644 --- a/dashboards/resources/workload.libsonnet +++ b/dashboards/resources/workload.libsonnet @@ -156,7 +156,8 @@ local template = grafana.template; g.dashboard( '%(dashboardNamePrefix)sCompute Resources / Workload' % $._config.grafanaK8s, uid=($._config.grafanaDashboardIDs['k8s-resources-workload.json']), - datasource_regex=$._config.datasourceFilterRegex, datasource=$._config.datasourceName, + datasource_regex=$._config.datasourceFilterRegex, + datasource=$._config.datasourceName, ) .addRow( g.row('CPU Usage')