22 lines
506 B
JSON
22 lines
506 B
JSON
{
|
|
"type": "object",
|
|
"required": [
|
|
"unit",
|
|
"label",
|
|
"prometheus_endpoint_path"
|
|
],
|
|
"oneOf": [
|
|
{ "required": ["query"] },
|
|
{ "required": ["query_range"] }
|
|
],
|
|
"properties": {
|
|
"id": { "type": "string" },
|
|
"query_range": { "type": "string" },
|
|
"query": { "type": "string" },
|
|
"unit": { "type": "string" },
|
|
"label": { "type": "string" },
|
|
"track": { "type": "string" },
|
|
"prometheus_endpoint_path": { "type": "string" }
|
|
},
|
|
"additionalProperties": false
|
|
}
|