grafana/pkg/tsdb/elasticsearch/testdata_request/metric_multi.queries.json
Gábor Farkas f1dfaa784a
elastic: add more backend tests (#59312)
* elastic: added backend snapshot tests

* linter fixes
2022-11-28 14:59:57 +01:00

42 lines
940 B
JSON

[
{
"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
}
]