diff --git a/dashboards/jupyterhub.jsonnet b/dashboards/jupyterhub.jsonnet index 42d5dbf..3089378 100755 --- a/dashboards/jupyterhub.jsonnet +++ b/dashboards/jupyterhub.jsonnet @@ -28,7 +28,10 @@ local templates = [ // Allow viewing dashboard for multiple combined hubs includeAll=true, multi=true - ), + ) + { + // Explicitly set '$hub' to be `.*` when 'All' is selected, as we always use `$hub` as a regex + allValue: '.*', + }, ]; diff --git a/dashboards/usage-report.jsonnet b/dashboards/usage-report.jsonnet index fe44f8e..c447b6c 100644 --- a/dashboards/usage-report.jsonnet +++ b/dashboards/usage-report.jsonnet @@ -18,7 +18,10 @@ local templates = [ // Allow viewing dashboard for multiple combined hubs includeAll=true, multi=false - ), + ) + { + // Explicitly set '$hub' to be `.*` when 'All' is selected, as we always use `$hub` as a regex + allValue: '.*', + }, ]; local memoryUsageUserPods = barGaugePanel.new( diff --git a/dashboards/user.jsonnet b/dashboards/user.jsonnet index c0bedd5..77374d5 100755 --- a/dashboards/user.jsonnet +++ b/dashboards/user.jsonnet @@ -26,7 +26,10 @@ local templates = [ // Allow viewing dashboard for multiple combined hubs includeAll=true, multi=true - ), + ) + { + // Explicitly set '$hub' to be `.*` when 'All' is selected, as we always use `$hub` as a regex + allValue: '.*', + }, template.new( 'user_pod', datasource='$PROMETHEUS_DS',