diff options
author | rpereira2 <rpereira@gitlab.com> | 2019-04-16 18:37:47 +0300 |
---|---|---|
committer | syasonik <syasonik@gitlab.com> | 2019-04-24 13:23:03 +0300 |
commit | 0007a42a7bcc7bcee3dd10a3132dc96478b77e80 (patch) | |
tree | ad3c60001843faba84d56d329bdb1b5671263dab /spec/fixtures | |
parent | b1773bf8b741ffc52e2699848e42aa0a054c9e6e (diff) |
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')
-rw-r--r-- | spec/fixtures/lib/gitlab/metrics_dashboard/sample_dashboard.yml | 4 |
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' |