diff options
author | syasonik <syasonik@gitlab.com> | 2019-04-16 10:01:43 +0300 |
---|---|---|
committer | syasonik <syasonik@gitlab.com> | 2019-04-24 13:23:03 +0300 |
commit | 3d302879f431aed213c0b9d6308c7dff9a9c3958 (patch) | |
tree | 65751aa47207e4c3265a2d8ef6760bd2b49cb07d /spec/fixtures | |
parent | 18183f404e492bcdb9818e2fb29b50dafdbca247 (diff) |
Add unit tests and fix broken endpoint
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/services/metrics_dashboard_processing_service.yml | 36 |
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 |