Commit Graph

29 Commits

Author SHA1 Message Date
Alexander Zobnin
915973829d Support item tags, fixes #1258 2021-08-09 14:57:49 +03:00
Alexander Zobnin
2a836b9ecd Don't align IT services data 2021-08-06 13:22:43 +03:00
Alexander Zobnin
d1f639f568 Fix data alignment on the backend 2021-08-06 11:50:06 +03:00
Alexander Zobnin
e12b8cbefb Handle db connection response on the backend 2021-08-04 18:07:38 +03:00
Alexander Zobnin
16fe4795b3 Disable alignment for trend data 2021-06-01 13:16:22 +03:00
Alexander Zobnin
c81a6ae8c3 Use backend queries for item id mode 2021-06-01 13:01:54 +03:00
Alexander Zobnin
7276e4ba09 Fix handling null interval 2021-05-31 18:25:12 +03:00
Alexander Zobnin
f908ab7264 Downsample data 2021-05-31 18:15:01 +03:00
Alexander Zobnin
7d5b7cad3e Align time series data if possible 2021-05-31 17:42:24 +03:00
Alexander Zobnin
98b6a34fb1 Fix trend values count and sum 2021-05-28 11:54:43 +03:00
Alexander Zobnin
4e6a77cad0 Fix trendValue/consolidateBy 2021-05-28 11:38:31 +03:00
Alexander Zobnin
43e9527a0f Implement timeShift 2021-05-27 14:16:10 +03:00
Alexander Zobnin
9a63a1f70f Return multiple frames (frame per series) 2021-05-27 13:28:14 +03:00
Alexander Zobnin
24e9129fbe Implement sortSeries 2021-05-27 12:57:09 +03:00
Alexander Zobnin
62d569cd53 Implement percentileAgg 2021-05-27 10:13:48 +03:00
Alexander Zobnin
3f7cabcd53 initial pipeline for functions processing 2021-05-24 17:46:49 +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
b42d665e9e Refactor: remove unused types 2021-05-19 18:15:29 +03:00
Alexander Zobnin
badecc3aae Refactor: zabbix client 2021-05-19 13:17:46 +03:00
Alexander Zobnin
68c7e20d27 Merge branch 'master' into backend-functions 2021-05-19 09:08:05 +03:00
Alexander Zobnin
3410593f9e Fix compatibility with Zabbix 5.4 (skip applications filter) (#1214)
* Fix queries in Zabbix 5.4 (applications not supported)

* Fix alerting queries in Zabbix 5.4
2021-05-18 17:22:49 +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
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
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