Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyasonik <syasonik@gitlab.com>2019-04-16 10:01:43 +0300
committersyasonik <syasonik@gitlab.com>2019-04-24 13:23:03 +0300
commit3d302879f431aed213c0b9d6308c7dff9a9c3958 (patch)
tree65751aa47207e4c3265a2d8ef6760bd2b49cb07d /spec/fixtures
parent18183f404e492bcdb9818e2fb29b50dafdbca247 (diff)
Add unit tests and fix broken endpoint
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/services/metrics_dashboard_processing_service.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/spec/fixtures/services/metrics_dashboard_processing_service.yml b/spec/fixtures/services/metrics_dashboard_processing_service.yml
new file mode 100644
index 00000000000..ebfe06da6db
--- /dev/null
+++ b/spec/fixtures/services/metrics_dashboard_processing_service.yml
@@ -0,0 +1,36 @@
+dashboard: 'Test Dashboard'
+order: 1
+panel_groups:
+- group: Group A
+ priority: 10
+ panels:
+ - title: "Super Chart A1"
+ type: "area-chart"
+ y_label: "y_label"
+ weight: 2
+ metrics:
+ - id: metric_a1
+ query_range: 'query'
+ unit: unit
+ label: Legend Label
+ - title: "Super Chart A2"
+ type: "area-chart"
+ y_label: "y_label"
+ weight: 1
+ metrics:
+ - id: metric_a2
+ query_range: 'query'
+ label: Legend Label
+ unit: unit
+- group: Group B
+ priority: 1
+ panels:
+ - title: "Super Chart B"
+ type: "area-chart"
+ y_label: "y_label"
+ weight: 1
+ metrics:
+ - id: metric_b
+ query_range: 'query'
+ unit: unit
+ label: Legend Label