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

metrics.json « schemas « dashboard « metrics « gitlab « lib « fixtures « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b23b0ea15d228883c1eb72f22b88472277293812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  "type": "object",
  "required": [
    "label",
    "prometheus_endpoint_path"
  ],
  "oneOf": [
    { "required": ["query"] },
    { "required": ["query_range"] }
  ],
  "properties": {
    "id": { "type": "string" },
    "query_range": { "type": ["string", "number"] },
    "query": { "type": ["string", "number"] },
    "unit": { "type": "string" },
    "label": { "type": "string" },
    "track": { "type": "string" },
    "prometheus_endpoint_path": { "type": "string" },
    "metric_id": { "type": "number" },
    "edit_path": { "type": ["string", "null"] }
  },
  "additionalProperties": false
}