summaryrefslogtreecommitdiff
path: root/spec/fixtures/lib
diff options
context:
space:
mode:
authorrpereira2 <rpereira@gitlab.com>2019-04-16 21:07:47 +0530
committersyasonik <syasonik@gitlab.com>2019-04-24 18:23:03 +0800
commit0007a42a7bcc7bcee3dd10a3132dc96478b77e80 (patch)
treead3c60001843faba84d56d329bdb1b5671263dab /spec/fixtures/lib
parentb1773bf8b741ffc52e2699848e42aa0a054c9e6e (diff)
downloadgitlab-ce-0007a42a7bcc7bcee3dd10a3132dc96478b77e80.tar.gz
Correct the order of groups and panels
- Order groups by descending order of priority. - Order panels by descending order of weight. - Perform sorting after adding project/custom metrics.
Diffstat (limited to 'spec/fixtures/lib')
-rw-r--r--spec/fixtures/lib/gitlab/metrics_dashboard/sample_dashboard.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/fixtures/lib/gitlab/metrics_dashboard/sample_dashboard.yml b/spec/fixtures/lib/gitlab/metrics_dashboard/sample_dashboard.yml
index ebfe06da6db..7b6527ea715 100644
--- a/spec/fixtures/lib/gitlab/metrics_dashboard/sample_dashboard.yml
+++ b/spec/fixtures/lib/gitlab/metrics_dashboard/sample_dashboard.yml
@@ -7,7 +7,7 @@ panel_groups:
- title: "Super Chart A1"
type: "area-chart"
y_label: "y_label"
- weight: 2
+ weight: 1
metrics:
- id: metric_a1
query_range: 'query'
@@ -16,7 +16,7 @@ panel_groups:
- title: "Super Chart A2"
type: "area-chart"
y_label: "y_label"
- weight: 1
+ weight: 2
metrics:
- id: metric_a2
query_range: 'query'