Tommi Palomäki
1ae4b86ca9
Fix to consolidate avg accuracy ( #753 )
...
* The interval must fit exactly n times to the time range and query made so that the resulting avg will be exact
* Add interval fix also to trend query
2020-05-15 14:08:12 +03:00
Alexander Zobnin
2761b4d966
Migrate dataSourceSrv to getDataSourceSrv
2020-03-23 16:05:31 +03:00
Alexander Zobnin
dad0fd965d
Migrate backendSrv to getBackendSrv, fix direct DB connection
2020-03-20 17:03:49 +03:00
Alexander Zobnin
054e5518c5
tests for influxdb connector
2019-02-14 10:55:34 +03:00
Alexander Zobnin
42839648c4
db connector: fix tests
2019-02-14 10:54:32 +03:00
Alexander Zobnin
34ba8bba1c
db connector: ds loading refactor
2019-02-14 10:51:14 +03:00
Alexander Zobnin
6eb52619b9
db connector: refactor
2019-02-14 10:51:13 +03:00
Alexander Zobnin
6da2479e9d
influx connector: refactor
2019-02-14 10:47:32 +03:00
Tommi Palomäki
3b88711baf
consolidateBy(sum) must calculate sums inside the one-hour trend period, fixes #604
2018-10-25 11:40:57 +03:00
Alexander Zobnin
db9c14fdd3
db connector: fix error when no series returned, fix #571
2018-09-14 19:09:30 +03:00
Alexander Zobnin
056d9bcd26
refactor testDataSource() method
2018-08-28 17:48:18 +03:00
Alexander Zobnin
16861ad8c3
refactor: db connectors
2018-06-08 19:32:26 +03:00