summaryrefslogtreecommitdiff
path: root/spec/fixtures/lib/gitlab/metrics/dashboard/dashboard_groups_missing_panels_and_group.yml
blob: 746a90f266e92e04f3472e44843019d618ab1246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
dashboard: 'Test Dashboard'
panel_groups:
- panels:
  - title: "Super Chart A1"
    type: "area-chart"
    y_label: "y_label"
    weight: 1
    max_value: 1
    metrics:
    - id: metric_a1
      query_range: |+
        avg(
          sum(
            container_memory_usage_bytes{
              container_name!="POD",
              pod_name=~"^{{ci_environment_slug}}-(.*)",
              namespace="{{kube_namespace}}"
            }
          ) by (job)
        ) without (job)
        /1024/1024/1024
      unit: unit
      label: Legend Label
  - title: "Super Chart A2"
    type: "area-chart"
    y_label: "y_label"
    weight: 2
    metrics:
    - id: metric_a2
      query_range: 'query'
      label: Legend Label
      unit: unit
- group: Group B