2019-07-31 22:56:46 +05:30
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
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" },
|
2019-10-12 21:52:04 +05:30
|
|
|
"prometheus_endpoint_path": { "type": "string" },
|
2020-03-09 13:42:32 +05:30
|
|
|
"metric_id": { "type": "number" },
|
|
|
|
"edit_path": { "type": ["string", "null"] }
|
2019-07-31 22:56:46 +05:30
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|