elastic: add more backend tests (#59312)
* elastic: added backend snapshot tests * linter fixes
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
[
|
||||
{
|
||||
"refId": "a",
|
||||
"datasource": { "uid": "haha", "type": "elasticsearch" },
|
||||
"datasourceId": 42,
|
||||
"query": "",
|
||||
"alias": "",
|
||||
"metrics": [{ "id": "1", "type": "max", "field": "float" }],
|
||||
"bucketAggs": [
|
||||
{
|
||||
"type": "date_histogram",
|
||||
"id": "2",
|
||||
"settings": { "interval": "auto" },
|
||||
"field": "testtime"
|
||||
}
|
||||
],
|
||||
"timeField": "testtime",
|
||||
"intervalMs": 30000,
|
||||
"maxDataPoints": 814
|
||||
},
|
||||
{
|
||||
"datasource": { "uid": "haha", "type": "elasticsearch" },
|
||||
"datasourceId": 42,
|
||||
"refId": "b",
|
||||
"hide": false,
|
||||
"query": "",
|
||||
"alias": "",
|
||||
"metrics": [{ "id": "1", "type": "min", "field": "float" }],
|
||||
"bucketAggs": [
|
||||
{
|
||||
"type": "date_histogram",
|
||||
"id": "2",
|
||||
"settings": { "interval": "auto" },
|
||||
"field": "testtime"
|
||||
}
|
||||
],
|
||||
"timeField": "testtime",
|
||||
"intervalMs": 30000,
|
||||
"maxDataPoints": 814
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user