mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 16:57:14 -06:00
57425234c9
* elastic: backend: removed unused time-field * improve comment formatting Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
40 lines
882 B
JSON
40 lines
882 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"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"intervalMs": 30000,
|
|
"maxDataPoints": 814
|
|
}
|
|
]
|