grafana/pkg/tsdb/elasticsearch/testdata_response/metric_top_metrics.queries.json
Gábor Farkas e1321f8721
elasticsearch: more tests (#64971)
* elasticsearch: more tests

* fix issue with uppercase refID on linux

---------

Co-authored-by: Todd Treece <todd.treece@grafana.com>
2023-03-20 15:50:26 +02:00

36 lines
584 B
JSON

[
{
"alias": "",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "1m"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "uid"
},
"datasourceId": 42,
"metrics": [
{
"id": "1",
"settings": {
"metrics": [
"float"
],
"order": "desc",
"orderBy": "float"
},
"type": "top_metrics"
}
],
"query": "",
"refId": "A"
}
]