summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/prometheus/additional_metrics_query_result.json
blob: 47b5d283b8ce200ee0469975b0ab3701b8a87d20 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
  "items": {
    "properties": {
      "group": {
        "type": "string"
      },
      "metrics": {
        "items": {
          "properties": {
            "queries": {
              "items": {
                "properties": {
                  "query_range": {
                    "type": "string"
                  },
                  "query": {
                    "type": "string"
                  },
                  "result": {
                    "type": "any"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "title": {
              "type": "string"
            },
            "weight": {
              "type": "integer"
            },
            "y_label": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "required": [
          "metrics",
          "title",
          "weight"
        ],
        "type": "array"
      },
      "priority": {
        "type": "integer"
      }
    },
    "type": "object"
  },
  "required": [
    "group",
    "priority",
    "metrics"
  ],
  "type": "array"
}