Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
azun committed Sep 25, 2023
1 parent 6b2e6b0 commit 4a78534
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion dashboards/resources/cluster.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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') +
Expand Down
3 changes: 2 additions & 1 deletion dashboards/resources/multi-cluster.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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') +
{
Expand Down
3 changes: 2 additions & 1 deletion dashboards/resources/namespace.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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') +
Expand Down
3 changes: 2 additions & 1 deletion dashboards/resources/node.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
3 changes: 2 additions & 1 deletion dashboards/resources/pod.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
3 changes: 2 additions & 1 deletion dashboards/resources/workload-namespace.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
3 changes: 2 additions & 1 deletion dashboards/resources/workload.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 4a78534

Please sign in to comment.