Commit Graph

13 Commits

Author SHA1 Message Date
Alexander Zobnin
6e6797653e Sort response by item id 2021-05-31 18:37:00 +03:00
Alexander Zobnin
7d5b7cad3e Align time series data if possible 2021-05-31 17:42:24 +03:00
Alexander Zobnin
3dd00c4699 Convert frames to wide format if possible 2021-05-28 13:02:11 +03:00
Alexander Zobnin
98b6a34fb1 Fix trend values count and sum 2021-05-28 11:54:43 +03:00
Alexander Zobnin
2a5b12e43a Fix series name issues 2021-05-27 14:27:10 +03:00
Alexander Zobnin
9a63a1f70f Return multiple frames (frame per series) 2021-05-27 13:28:14 +03:00
Alexander Zobnin
ff16e2fe8d Skip frontend functions 2021-05-25 18:12:36 +03:00
Alexander Zobnin
7748508a5c Use time series format internally 2021-05-24 17:11:36 +03:00
Alexander Zobnin
e7a386cf8a Refactor history/trend queries 2021-05-24 15:31:56 +03:00
Alexander Zobnin
94b5c88366 Fix item filtering 2021-05-24 11:20:14 +03:00
Alexander Zobnin
badecc3aae Refactor: zabbix client 2021-05-19 13:17:46 +03:00
Alexander Zobnin
8cdc2a3ae9 rename convertHistory 2021-03-09 18:23:34 +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