Commit Graph

12 Commits

Author SHA1 Message Date
Alexander Zobnin
e12b8cbefb Handle db connection response on the backend 2021-08-04 18:07:38 +03:00
Alexander Zobnin
83618178f0 Use Data frames response format (#1099)
* Use data frames for numeric data

* Use data frames for text data

* Use data frames for IT services

* fix multiple series

* Convert to the wide format if possible

* Fix table format for text data

* Add refId to the data frames

* Align time series from Zabbix API

* Fill gaps with nulls

* Fix moving average functions

* Option for disabling data alignment

* remove unused logging

* Add labels to data frames

* Detect units

* Set min and max for if percent unit used

* Use value mapping from Zabbix

* Rename unitConverter -> convertZabbixUnit

* More units

* Add missing points in front of each series

* Fix handling table data

* fix db connector data frames handling

* fix it services data frames handling

* Detect all known grafana units

* Chore: remove unused logging

* Fix problems format

* Debug logging: show original units

* Add global option for disabling data alignment

* Add tooltip for the disableDataAlignment feature

* Add note about query options

* Functions for aligning timeseries on the backend
2020-12-22 15:33:14 +03:00
Alexander Zobnin
91b4dd6fd9 fix alias variables with direct DB connection, closes #965 2020-05-27 15:26:22 +03:00
Alexander Zobnin
2761b4d966 Migrate dataSourceSrv to getDataSourceSrv 2020-03-23 16:05:31 +03:00
Alexander Zobnin
869634ef62 Fix ds provisioning with direct DB connection enabled (#723)
* fix ds provisioning with direct DB connection #711

* fix linter error
2019-04-19 12:56:51 +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
Alexander Zobnin
8096c0a65e use direct db connection datasource name for provisioning, #614 2018-08-28 22:34:41 +03:00
Alexander Zobnin
056d9bcd26 refactor testDataSource() method 2018-08-28 17:48:18 +03:00
Alexander Zobnin
8a51d1d854 minor refactor 2018-08-28 16:37:51 +03:00
Alexander Zobnin
16861ad8c3 refactor: db connectors 2018-06-08 19:32:26 +03:00