"description":"true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)",
"type":"boolean"
},
"queryType":{
"description":"QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.",
"type":"string"
},
"refId":{
"description":"RefID is the unique identifier of the query, set by the frontend call.",
"type":"string"
},
"resultAssertions":{
"description":"Optionally define expected query result behavior",
"type":"object",
"required":[
"typeVersion"
],
"properties":{
"maxFrames":{
"description":"Maximum frame count",
"type":"integer"
},
"type":{
"description":"Type asserts that the frame matches a known type structure.\n\n\nPossible enum values:\n - `\"\"` \n - `\"timeseries-wide\"` \n - `\"timeseries-long\"` \n - `\"timeseries-many\"` \n - `\"timeseries-multi\"` \n - `\"directory-listing\"` \n - `\"table\"` \n - `\"numeric-wide\"` \n - `\"numeric-multi\"` \n - `\"numeric-long\"` \n - `\"log-lines\"` ",
"type":"string",
"enum":[
"",
"timeseries-wide",
"timeseries-long",
"timeseries-many",
"timeseries-multi",
"directory-listing",
"table",
"numeric-wide",
"numeric-multi",
"numeric-long",
"log-lines"
],
"x-enum-description":{}
},
"typeVersion":{
"description":"TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.",
"type":"array",
"maxItems":2,
"minItems":2,
"items":{
"type":"integer"
}
}
},
"additionalProperties":false
},
"timeRange":{
"description":"TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly",
"type":"object",
"required":[
"from",
"to"
],
"properties":{
"from":{
"description":"From is the start time of the query.",
"description":"true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)",
"type":"boolean"
},
"queryType":{
"description":"QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.",
"description":"RefID is the unique identifier of the query, set by the frontend call.",
"type":"string"
},
"resultAssertions":{
"description":"Optionally define expected query result behavior",
"type":"object",
"required":[
"typeVersion"
],
"properties":{
"maxFrames":{
"description":"Maximum frame count",
"type":"integer"
},
"type":{
"description":"Type asserts that the frame matches a known type structure.\n\n\nPossible enum values:\n - `\"\"` \n - `\"timeseries-wide\"` \n - `\"timeseries-long\"` \n - `\"timeseries-many\"` \n - `\"timeseries-multi\"` \n - `\"directory-listing\"` \n - `\"table\"` \n - `\"numeric-wide\"` \n - `\"numeric-multi\"` \n - `\"numeric-long\"` \n - `\"log-lines\"` ",
"type":"string",
"enum":[
"",
"timeseries-wide",
"timeseries-long",
"timeseries-many",
"timeseries-multi",
"directory-listing",
"table",
"numeric-wide",
"numeric-multi",
"numeric-long",
"log-lines"
],
"x-enum-description":{}
},
"typeVersion":{
"description":"TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.",
"description":"TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly",
"type":"object",
"required":[
"from",
"to"
],
"properties":{
"from":{
"description":"From is the start time of the query.",
"description":"true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)",
"type":"boolean"
},
"queryType":{
"description":"QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.",
"type":"string"
},
"refId":{
"description":"RefID is the unique identifier of the query, set by the frontend call.",
"type":"string"
},
"resultAssertions":{
"description":"Optionally define expected query result behavior",
"type":"object",
"required":[
"typeVersion"
],
"properties":{
"maxFrames":{
"description":"Maximum frame count",
"type":"integer"
},
"type":{
"description":"Type asserts that the frame matches a known type structure.\n\n\nPossible enum values:\n - `\"\"` \n - `\"timeseries-wide\"` \n - `\"timeseries-long\"` \n - `\"timeseries-many\"` \n - `\"timeseries-multi\"` \n - `\"directory-listing\"` \n - `\"table\"` \n - `\"numeric-wide\"` \n - `\"numeric-multi\"` \n - `\"numeric-long\"` \n - `\"log-lines\"` ",
"type":"string",
"enum":[
"",
"timeseries-wide",
"timeseries-long",
"timeseries-many",
"timeseries-multi",
"directory-listing",
"table",
"numeric-wide",
"numeric-multi",
"numeric-long",
"log-lines"
],
"x-enum-description":{}
},
"typeVersion":{
"description":"TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.",
"type":"array",
"maxItems":2,
"minItems":2,
"items":{
"type":"integer"
}
}
},
"additionalProperties":false
},
"timeRange":{
"description":"TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly",
"type":"object",
"required":[
"from",
"to"
],
"properties":{
"from":{
"description":"From is the start time of the query.",
"type":"string",
"default":"now-6h",
"examples":[
"now-1h"
]
},
"to":{
"description":"To is the end time of the query.",
"type":"string",
"default":"now",
"examples":[
"now"
]
}
},
"additionalProperties":false
},
"type":{
"type":"string",
"pattern":"^resample$"
},
"upsampler":{
"description":"The upsample function\n\n\nPossible enum values:\n - `\"pad\"` Use the last seen value\n - `\"backfilling\"` backfill\n - `\"fillna\"` Do not fill values (nill)",
"description":"true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)",
"type":"boolean"
},
"queryType":{
"description":"QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.",
"type":"string"
},
"refId":{
"description":"RefID is the unique identifier of the query, set by the frontend call.",
"type":"string"
},
"resultAssertions":{
"description":"Optionally define expected query result behavior",
"type":"object",
"required":[
"typeVersion"
],
"properties":{
"maxFrames":{
"description":"Maximum frame count",
"type":"integer"
},
"type":{
"description":"Type asserts that the frame matches a known type structure.\n\n\nPossible enum values:\n - `\"\"` \n - `\"timeseries-wide\"` \n - `\"timeseries-long\"` \n - `\"timeseries-many\"` \n - `\"timeseries-multi\"` \n - `\"directory-listing\"` \n - `\"table\"` \n - `\"numeric-wide\"` \n - `\"numeric-multi\"` \n - `\"numeric-long\"` \n - `\"log-lines\"` ",
"type":"string",
"enum":[
"",
"timeseries-wide",
"timeseries-long",
"timeseries-many",
"timeseries-multi",
"directory-listing",
"table",
"numeric-wide",
"numeric-multi",
"numeric-long",
"log-lines"
],
"x-enum-description":{}
},
"typeVersion":{
"description":"TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.",
"type":"array",
"maxItems":2,
"minItems":2,
"items":{
"type":"integer"
}
}
},
"additionalProperties":false
},
"timeRange":{
"description":"TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly",
"type":"object",
"required":[
"from",
"to"
],
"properties":{
"from":{
"description":"From is the start time of the query.",
"description":"true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)",
"type":"boolean"
},
"queryType":{
"description":"QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.",
"type":"string"
},
"refId":{
"description":"RefID is the unique identifier of the query, set by the frontend call.",
"type":"string"
},
"resultAssertions":{
"description":"Optionally define expected query result behavior",
"type":"object",
"required":[
"typeVersion"
],
"properties":{
"maxFrames":{
"description":"Maximum frame count",
"type":"integer"
},
"type":{
"description":"Type asserts that the frame matches a known type structure.\n\n\nPossible enum values:\n - `\"\"` \n - `\"timeseries-wide\"` \n - `\"timeseries-long\"` \n - `\"timeseries-many\"` \n - `\"timeseries-multi\"` \n - `\"directory-listing\"` \n - `\"table\"` \n - `\"numeric-wide\"` \n - `\"numeric-multi\"` \n - `\"numeric-long\"` \n - `\"log-lines\"` ",
"type":"string",
"enum":[
"",
"timeseries-wide",
"timeseries-long",
"timeseries-many",
"timeseries-multi",
"directory-listing",
"table",
"numeric-wide",
"numeric-multi",
"numeric-long",
"log-lines"
],
"x-enum-description":{}
},
"typeVersion":{
"description":"TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.",
"type":"array",
"maxItems":2,
"minItems":2,
"items":{
"type":"integer"
}
}
},
"additionalProperties":false
},
"timeRange":{
"description":"TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly",
"type":"object",
"required":[
"from",
"to"
],
"properties":{
"from":{
"description":"From is the start time of the query.",
"description":"true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)",
"type":"boolean"
},
"queryType":{
"description":"QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.",
"type":"string"
},
"refId":{
"description":"RefID is the unique identifier of the query, set by the frontend call.",
"type":"string"
},
"resultAssertions":{
"description":"Optionally define expected query result behavior",
"type":"object",
"required":[
"typeVersion"
],
"properties":{
"maxFrames":{
"description":"Maximum frame count",
"type":"integer"
},
"type":{
"description":"Type asserts that the frame matches a known type structure.\n\n\nPossible enum values:\n - `\"\"` \n - `\"timeseries-wide\"` \n - `\"timeseries-long\"` \n - `\"timeseries-many\"` \n - `\"timeseries-multi\"` \n - `\"directory-listing\"` \n - `\"table\"` \n - `\"numeric-wide\"` \n - `\"numeric-multi\"` \n - `\"numeric-long\"` \n - `\"log-lines\"` ",
"type":"string",
"enum":[
"",
"timeseries-wide",
"timeseries-long",
"timeseries-many",
"timeseries-multi",
"directory-listing",
"table",
"numeric-wide",
"numeric-multi",
"numeric-long",
"log-lines"
],
"x-enum-description":{}
},
"typeVersion":{
"description":"TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.",
"type":"array",
"maxItems":2,
"minItems":2,
"items":{
"type":"integer"
}
}
},
"additionalProperties":false
},
"timeRange":{
"description":"TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly",
"type":"object",
"required":[
"from",
"to"
],
"properties":{
"from":{
"description":"From is the start time of the query.",