Skip to content

Commit 7e85f54

Browse files
authored
Add custom all value .* to template vars (#1581)
1 parent b679d0e commit 7e85f54

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

haproxy-mixin/dashboards/dashboards.libsonnet

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,7 @@ local g = import 'github.com/grafana/dashboard-spec/_gen/7.0/jsonnet/grafana.lib
835835
datasource: '$datasource',
836836
definition: 'label_values(haproxy_process_start_time_seconds, job)',
837837
includeAll: true,
838+
allValue: '.*',
838839
multi: true,
839840
query: 'label_values(haproxy_process_start_time_seconds, job)',
840841
refresh: 1,
@@ -844,6 +845,7 @@ local g = import 'github.com/grafana/dashboard-spec/_gen/7.0/jsonnet/grafana.lib
844845
datasource: '$datasource',
845846
definition: 'label_values(haproxy_process_start_time_seconds{' + $._config.jobMatcher + '}, instance)',
846847
includeAll: true,
848+
allValue: '.*',
847849
multi: true,
848850
query: 'label_values(haproxy_process_start_time_seconds{' + $._config.jobMatcher + '}, instance)',
849851
refresh: 1,
@@ -853,6 +855,7 @@ local g = import 'github.com/grafana/dashboard-spec/_gen/7.0/jsonnet/grafana.lib
853855
datasource: '$datasource',
854856
definition: 'label_values(haproxy_backend_status{' + $._config.jobMatcher + ',' + $._config.instanceMatcher + '}, proxy)',
855857
includeAll: true,
858+
allValue: '.*',
856859
multi: true,
857860
query: 'label_values(haproxy_backend_status{' + $._config.jobMatcher + ',' + $._config.instanceMatcher + '}, proxy)',
858861
refresh: 1,
@@ -862,6 +865,7 @@ local g = import 'github.com/grafana/dashboard-spec/_gen/7.0/jsonnet/grafana.lib
862865
datasource: '$datasource',
863866
definition: 'label_values(haproxy_frontend_status{' + $._config.jobMatcher + ',' + $._config.instanceMatcher + '}, proxy)',
864867
includeAll: true,
868+
allValue: '.*',
865869
multi: true,
866870
query: 'label_values(haproxy_frontend_status{' + $._config.jobMatcher + ',' + $._config.instanceMatcher + '}, proxy)',
867871
refresh: 1,
@@ -871,6 +875,7 @@ local g = import 'github.com/grafana/dashboard-spec/_gen/7.0/jsonnet/grafana.lib
871875
datasource: '$datasource',
872876
definition: 'label_values(haproxy_server_status{' + $._config.jobMatcher + ',' + $._config.instanceMatcher + '}, server)',
873877
includeAll: true,
878+
allValue: '.*',
874879
multi: true,
875880
query: 'label_values(haproxy_server_status{' + $._config.jobMatcher + ',' + $._config.instanceMatcher + '}, server)',
876881
refresh: 1,

haproxy-mixin/dashboards_out/haproxy-backend.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

haproxy-mixin/dashboards_out/haproxy-frontend.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

haproxy-mixin/dashboards_out/haproxy-overview.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

haproxy-mixin/dashboards_out/haproxy-server.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)