elastic: add more backend tests (#59312)
* elastic: added backend snapshot tests * linter fixes
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
[
|
||||
{
|
||||
"alias": "",
|
||||
"bucketAggs": [
|
||||
{
|
||||
"field": "label",
|
||||
"id": "4",
|
||||
"settings": {
|
||||
"min_doc_count": "1",
|
||||
"order": "desc",
|
||||
"orderBy": "_term",
|
||||
"size": "10"
|
||||
},
|
||||
"type": "terms"
|
||||
},
|
||||
{
|
||||
"field": "testtime",
|
||||
"id": "2",
|
||||
"settings": {
|
||||
"interval": "1m",
|
||||
"min_doc_count": "0",
|
||||
"timeZone": "utc",
|
||||
"trimEdges": "0"
|
||||
},
|
||||
"type": "date_histogram"
|
||||
}
|
||||
],
|
||||
"datasource": {
|
||||
"uid": "haha",
|
||||
"type": "elasticsearch"
|
||||
},
|
||||
"datasourceId": 42,
|
||||
"hide": true,
|
||||
"metrics": [
|
||||
{
|
||||
"field": "float",
|
||||
"id": "1",
|
||||
"type": "max"
|
||||
},
|
||||
{
|
||||
"field": "float",
|
||||
"id": "3",
|
||||
"type": "min"
|
||||
}
|
||||
],
|
||||
"query": "",
|
||||
"refId": "a",
|
||||
"timeField": "testtime",
|
||||
"intervalMs": 200,
|
||||
"maxDataPoints": 779
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user