Commit Graph

11 Commits

Author SHA1 Message Date
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
82819b20aa Able to configure API request timeout, #1046 2020-11-10 16:39:06 +03:00
Alexander Zobnin
8e781da7bd Support TLS settings, fix #1029 2020-08-28 16:52:55 +03:00
Alexander Zobnin
013fe5c37f Refactor: use InstanceManager for managing ds instances 2020-08-28 14:40:39 +03:00
Alexander Zobnin
d6b8992433 Refine log messages 2020-08-25 13:36:36 +03:00
Alexander Zobnin
620c60b1f5 Add debug message in case of expired auth token 2020-06-04 18:31:09 +03:00
Alexander Zobnin
516b4f2045 fix expired token renewal 2020-06-04 17:53:10 +03:00
Alexander Zobnin
dbb4e9dfef refactor: errors 2020-06-04 12:29:37 +03:00
Alexander Zobnin
899ecb9ec2 Resource handler description 2020-06-04 12:23:18 +03:00
Alexander Zobnin
95c8e9cfa6 move cache to datasource_cache 2020-06-04 12:10:34 +03:00
Alexander Zobnin
7990613e2c reorganize packages and add tests for zabbix datasource instance methods 2020-06-04 11:43:20 +03:00