debian-mirror-gitlab/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/metrics.json

23 lines
506 B
JSON
Raw Normal View History

2019-07-31 22:56:46 +05:30
{
"type": "object",
"required": [
"unit",
2019-09-04 21:01:54 +05:30
"label",
"prometheus_endpoint_path"
2019-07-31 22:56:46 +05:30
],
"oneOf": [
{ "required": ["query"] },
{ "required": ["query_range"] }
],
"properties": {
"id": { "type": "string" },
"query_range": { "type": "string" },
"query": { "type": "string" },
"unit": { "type": "string" },
"label": { "type": "string" },
2019-09-04 21:01:54 +05:30
"track": { "type": "string" },
"prometheus_endpoint_path": { "type": "string" }
2019-07-31 22:56:46 +05:30
},
"additionalProperties": false
}