Commit f029c3dd authored by rpereira2's avatar rpereira2 Committed by syasonik

Make query or query_range required in metrics

Either the query or query_range attribute needs to be present in the
metrics yml. The yml is invalid if both are present or neither is
present.
parent c2818d6b
......@@ -4,6 +4,10 @@
"unit",
"label"
],
"oneOf": [
{ "required": ["query"] },
{ "required": ["query_range"] }
],
"properties": {
"id": { "type": "string" },
"query_range": { "type": "string" },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment