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