Elasticsearch: Use interval provided by data request in backend (#60480)

* Elasticsearch: Remove interval caulation and use interval provises by grafana

* Remove redundant code

* Adjust snapshot tests

* Update test

* Fix lint
This commit is contained in:
Ivana Huckova
2023-01-05 12:26:27 +01:00
committed by GitHub
parent 8b50c60342
commit 772e8cbf60
14 changed files with 104 additions and 114 deletions
@@ -17,7 +17,8 @@
"timeField": "testtime",
"key": "Q-ee8fea91-a4c4-4ded-9827-b362476a4083-0",
"datasourceId": 39,
"intervalMs": 2000,
"intervalMs": 1000,
"interval": 1000000000,
"maxDataPoints": 1318
}
]
@@ -15,7 +15,8 @@
}
],
"timeField": "testtime",
"intervalMs": 30000,
"intervalMs": 1000,
"interval": 1000000000,
"maxDataPoints": 814
},
{
@@ -35,7 +36,8 @@
}
],
"timeField": "testtime",
"intervalMs": 30000,
"intervalMs": 1000,
"interval": 1000000000,
"maxDataPoints": 814
}
]