Skip to content

Commit

Permalink
Set default type to all
Browse files Browse the repository at this point in the history
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
  • Loading branch information
v-zhuravlev committed Aug 22, 2023
1 parent 31a7463 commit 478c25b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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 @@ -263,7 +263,7 @@ local annotation = grafana.annotation;
name='type',
datasource='$datasource',
query='label_values(namespace_workload_pod:kube_pod_owner:relabel{%(clusterLabel)s="$cluster",namespace="$namespace", workload=~".+"}, workload_type)' % $._config,
current='deployment',
current='',
hide='',
refresh=2,
includeAll=true,
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 @@ -146,7 +146,7 @@ local annotation = grafana.annotation;
name='type',
datasource='$datasource',
query='label_values(namespace_workload_pod:kube_pod_owner:relabel{%(clusterLabel)s="$cluster",namespace=~"$namespace", workload=~"$workload"}, workload_type)' % $._config,
current='deployment',
current='',
hide='',
refresh=2,
includeAll=true,
Expand Down
2 changes: 1 addition & 1 deletion dashboards/resources/workload-namespace.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ local template = grafana.template;
name='type',
datasource='$datasource',
query='label_values(namespace_workload_pod:kube_pod_owner:relabel{%(clusterLabel)s="$cluster", namespace="$namespace", workload=~".+"}, workload_type)' % $._config.clusterLabel,
current='deployment',
current='',
hide='',
refresh=2,
includeAll=true,
Expand Down
2 changes: 1 addition & 1 deletion dashboards/resources/workload.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ local template = grafana.template;
hide='',
refresh=2,
includeAll=true,
sort=1
sort=0
),

local workloadTemplate =
Expand Down

0 comments on commit 478c25b

Please sign in to comment.