Commit Graph

28 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
129705d39b Suppress problem dependencies, fix #1024 2020-08-28 10:17:06 +03:00
Alexander Zobnin
e06298cc02 Problems: fix problems history 2020-07-21 12:54:54 +03:00
Alexander Zobnin
6a1145c9fc Problems: fix sorting 2020-07-21 09:47:06 +03:00
Alexander Zobnin
a4931e36b0 Problems: move tag filter to API query 2020-07-20 17:29:33 +03:00
Alexander Zobnin
937f582326 Problems: disable skipDependent flag in trigger.get query, fixes #955 2020-07-17 14:37:10 +03:00
Alexander Zobnin
1cdd8a97e4 Merge branch 'exec-script' into backend 2020-06-02 12:29:08 +03:00
Alexander Zobnin
9f344cb867 Refactor API calls 2020-05-29 12:33:37 +03:00
Alexander Zobnin
f0daa9fcb9 Migrate to new backend sdk, use /zabbix-api endpoint for API queries 2020-05-28 17:04:49 +03:00
Alexander Zobnin
c2aa84f349 Merge branch 'master' into backend 2020-05-28 12:02:36 +03:00
Alexander Zobnin
6841fa0386 Execute scripts from problem details 2020-05-28 10:44:16 +03:00
Alexander Zobnin
fd775aa9d7 getScripts method 2020-05-28 10:44:16 +03:00
Alexander Zobnin
d2a1a7797b always return array from problems requests 2020-05-27 09:55:57 +03:00
Alexander Zobnin
938b3cdc05 fix annotations, closes #964 2020-05-26 09:27:24 +03:00
Alexander Zobnin
fb56cf05ac fix tags in in problems history mode 2020-05-25 16:47:06 +03:00
Alexander Zobnin
4d2ff2d1f1 fix acknowledges in problems history mode 2020-05-25 16:43:52 +03:00
Alexander Zobnin
c91d5b1d99 Problems: fix acknowledged filter 2020-05-22 11:29:50 +03:00
Alexander Zobnin
708182c6f4 Chore: remove unused logging 2020-05-20 18:39:36 +03:00
Alexander Zobnin
84d93ecd5b Variables: able to query item values, closes #417 2020-05-20 16:52:40 +03:00
Alexander Zobnin
d18e6cc675 Fix API initialization, closes #861 2020-05-20 14:54:21 +03:00
Alexander Zobnin
4c462e72dc SLA: add interval option, closes #885 2020-05-20 13:36:00 +03:00
Alexander Zobnin
959cea2061 Problems: improve ack dialog (add ack options), closes #942 2020-05-18 19:41:33 +03:00
Alexander Zobnin
04de23eeea Problems: fix sorting order 2020-05-18 14:26:47 +03:00
Alexander Zobnin
0df9023750 Problems: support problems history 2020-05-18 12:18:59 +03:00
Alexander Zobnin
d7a96f06ee Zabbix API: add types 2020-05-18 11:37:22 +03:00
Alexander Zobnin
056f82731e Problems: use problems.get method for fetching triggers, closes #495 2020-05-15 18:17:54 +03:00
Alexander Zobnin
11214d0d17 Chore: convert Zabbix connector to TS 2020-05-15 14:38:29 +03:00
Alexander Zobnin
4a3bb91aaf Chore: convert ZabbixAPIConnector to TS 2020-05-15 13:49:44 +03:00