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:
@@ -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
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user