summaryrefslogtreecommitdiff
path: root/spec/fixtures/lib/gitlab/metrics/dashboard/sample_dashboard.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/lib/gitlab/metrics/dashboard/sample_dashboard.yml')
-rw-r--r--spec/fixtures/lib/gitlab/metrics/dashboard/sample_dashboard.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/sample_dashboard.yml b/spec/fixtures/lib/gitlab/metrics/dashboard/sample_dashboard.yml
index 5177de66fcf..1e41ef669d1 100644
--- a/spec/fixtures/lib/gitlab/metrics/dashboard/sample_dashboard.yml
+++ b/spec/fixtures/lib/gitlab/metrics/dashboard/sample_dashboard.yml
@@ -13,6 +13,23 @@ templating:
options:
default_value: 'default'
text_variable_simple_syntax: 'default value'
+ custom_variable_simple_syntax: ['value1', 'value2', 'value3']
+ custom_variable_full_syntax:
+ label: 'Variable 2'
+ type: custom
+ options:
+ values:
+ - value: 'value option 1'
+ text: 'Option 1'
+ - value: 'value_option_2'
+ text: 'Option 2'
+ default: true
+ metric_label_values_variable:
+ label: 'Variable 3'
+ type: metric_label_values
+ options:
+ series_selector: 'backend:haproxy_backend_availability:ratio{env="{{env}}"}'
+ label: 'backend'
panel_groups:
- group: Group A
priority: 1