Skip to content

Commit

Permalink
fix: remove one lint exclusion and fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
Duologic committed Feb 16, 2024
1 parent b130dae commit a6f2ac4
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 12 deletions.
1 change: 0 additions & 1 deletion .lint
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ exclusions:
target-instance-rule:
panel-title-description-rule:
panel-units-rule:
template-datasource-rule:
2 changes: 1 addition & 1 deletion dashboards/apiserver.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ local singlestat = grafana.singlestat;
value: $._config.datasourceName,
},
hide: 0,
label: 'Data Source',
label: 'Data source',
name: 'datasource',
options: [],
query: 'prometheus',
Expand Down
2 changes: 1 addition & 1 deletion dashboards/controller-manager.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ local singlestat = grafana.singlestat;
value: $._config.datasourceName,
},
hide: 0,
label: 'Data Source',
label: 'Data source',
name: 'datasource',
options: [],
query: 'prometheus',
Expand Down
2 changes: 1 addition & 1 deletion dashboards/kubelet.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ local statPanel = grafana.statPanel;
value: $._config.datasourceName,
},
hide: 0,
label: 'Data Source',
label: 'Data source',
name: 'datasource',
options: [],
query: 'prometheus',
Expand Down
2 changes: 1 addition & 1 deletion dashboards/network-usage/cluster-total.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ local annotation = grafana.annotation;
value: $._config.datasourceName,
},
hide: 0,
label: 'Data Source',
label: 'Data source',
name: 'datasource',
options: [],
query: 'prometheus',
Expand Down
2 changes: 1 addition & 1 deletion dashboards/network-usage/namespace-by-pod.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ local singlestat = grafana.singlestat;
value: $._config.datasourceName,
},
hide: 0,
label: 'Data Source',
label: 'Data source',
name: 'datasource',
options: [],
query: 'prometheus',
Expand Down
2 changes: 1 addition & 1 deletion dashboards/network-usage/namespace-by-workload.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ local annotation = grafana.annotation;
value: $._config.datasourceName,
},
hide: 0,
label: 'Data Source',
label: 'Data source',
name: 'datasource',
options: [],
query: 'prometheus',
Expand Down
2 changes: 1 addition & 1 deletion dashboards/network-usage/pod-total.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ local singlestat = grafana.singlestat;
value: $._config.datasourceName,
},
hide: 0,
label: 'Data Source',
label: 'Data source',
name: 'datasource',
options: [],
query: 'prometheus',
Expand Down
2 changes: 1 addition & 1 deletion dashboards/network-usage/workload-total.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ local annotation = grafana.annotation;
value: $._config.datasourceName,
},
hide: 0,
label: 'Data Source',
label: 'Data source',
name: 'datasource',
options: [],
query: 'prometheus',
Expand Down
2 changes: 1 addition & 1 deletion dashboards/persistentvolumesusage.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ local gauge = promgrafonnet.gauge;
value: $._config.datasourceName,
},
hide: 0,
label: 'Data Source',
label: 'Data source',
name: 'datasource',
options: [],
query: 'prometheus',
Expand Down
2 changes: 1 addition & 1 deletion dashboards/proxy.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ local singlestat = grafana.singlestat;
value: $._config.datasourceName,
},
hide: 0,
label: 'Data Source',
label: 'Data source',
name: 'datasource',
options: [],
query: 'prometheus',
Expand Down
2 changes: 1 addition & 1 deletion dashboards/scheduler.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ local singlestat = grafana.singlestat;
value: $._config.datasourceName,
},
hide: 0,
label: 'Data Source',
label: 'Data source',
name: 'datasource',
options: [],
query: 'prometheus',
Expand Down

0 comments on commit a6f2ac4

Please sign in to comment.