Commit Graph

525 Commits

Author SHA1 Message Date
Alexander Zobnin
e37bf01e92 Fix data alignment error 2021-03-09 14:09:33 +03:00
Alexander Zobnin
07e90ebfb8 Fix field display name, fixes #1130 2021-03-09 13:48:29 +03:00
Alexander Zobnin
85065b0733 Fix explore error caused by mismatched series length, closes #1150 2021-02-15 19:11:17 +03:00
Alexander Zobnin
3c00d73e7e remove unnecessary logging 2021-02-15 17:22:01 +03:00
Alexander Zobnin
4c22b6fcef Option for using zabbix mapping, closes #1128 2021-02-04 13:58:25 +03:00
Alexander Zobnin
884f4d02c6 Fix handling value mappings for ItemID mode, fix #1148 2021-01-28 11:25:03 +03:00
Alexander Zobnin
879967bf28 TemplateSrv: migrate to grafana/runtime 2021-01-20 12:26:01 +03:00
Alexander Zobnin
926631da96 Use secondsToHms()
from grafana/data
2021-01-20 12:20:46 +03:00
Alexander Zobnin
4556f90592 Use roundInterval from @grafana/data package, fix #1142 2021-01-20 11:45:25 +03:00
Alexander Zobnin
8bd85269b1 Fix parsing item update intervals 2020-12-28 13:13:16 +03:00
Alexander Zobnin
47471fdef0 Fix changing problem severity, fix #1104 2020-12-23 13:05:29 +03:00
Alexander Zobnin
98025026f7 Filter problems by time range, fix #1094 2020-12-23 12:48:46 +03:00
Alexander Zobnin
3f10be6a9d Show query in the inspector, fix #1097 2020-12-23 12:19:21 +03:00
Alexander Zobnin
2a44085288 fix missing semicolon 2020-12-22 17:14:05 +03:00
Alexander Zobnin
4b98f58f66 Extend metric query type 2020-12-22 17:09:58 +03:00
Alexander Zobnin
32ccb28c34 Prevent saving alerts with variables, fix #1100 2020-12-22 17:01:37 +03:00
Alexander Zobnin
1d15f3c11b Fill trends with null values 2020-12-22 16:29:22 +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
ad378a81e1 Fix functions editor 2020-11-17 18:41:39 +03:00
Alexander Zobnin
c7d3d54a15 Add timeout to defaults 2020-11-10 16:41:13 +03:00
Alexander Zobnin
82819b20aa Able to configure API request timeout, #1046 2020-11-10 16:39:06 +03:00
Alexander Zobnin
6c20b07c69 Problems: fix empty problems list when null value used as a filter 2020-11-03 12:17:30 +03:00
Alexander Zobnin
5ec8fc885b Config: fix direct db connection ds selector, closes #1027 2020-08-28 18:03:23 +03:00
Alexander Zobnin
129705d39b Suppress problem dependencies, fix #1024 2020-08-28 10:17:06 +03:00
Alexander Zobnin
21c8bc21b3 Chore: fix functions names 2020-08-06 15:26:16 +03:00
Alexander Zobnin
47bbf55e54 Fix reconnecting on request error 2020-08-06 15:15:38 +03:00
Alexander Zobnin
83077f6723 Problems: fix sorting by severity, fixes #921 2020-08-06 13:28:21 +03:00
Alexander Zobnin
e06298cc02 Problems: fix problems history 2020-07-21 12:54:54 +03:00
Alexander Zobnin
b7c61a0a50 Problems: temporary disable macro expanding 2020-07-21 09:58:46 +03:00
Alexander Zobnin
fdd3b2f2e3 Query editor: do not fetch items in problems mode 2020-07-21 09:58:07 +03:00
Alexander Zobnin
6a1145c9fc Problems: fix sorting 2020-07-21 09:47:06 +03:00
Alexander Zobnin
4293e519c3 Problems: don't add host filter if it includes all hosts 2020-07-21 09:31:00 +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
98408bf92c remove old alerting tests 2020-06-18 12:09:09 +03:00
Alexander Zobnin
dd38425c76 Remove old alerting feature 2020-06-18 12:05:06 +03:00
Alexander Zobnin
05d6af4dce Problems: use severity filter from panel options 2020-06-17 12:55:38 +03:00
Alexander Zobnin
00f9c25a79 Fix problems panel migration when panel options is not opened 2020-06-10 12:11:13 +03:00
Alexander Zobnin
9ca17dc033 fix datasource tests 2020-06-04 12:57:16 +03:00
Alexander Zobnin
1cdd8a97e4 Merge branch 'exec-script' into backend 2020-06-02 12:29:08 +03:00
Alexander Zobnin
1f19697b61 Merge branch 'master' into exec-script 2020-06-02 12:23:15 +03:00
Alexander Zobnin
a9c96c2634 fix open password removing 2020-06-02 09:25:32 +03:00
Alexander Zobnin
df12c0443d Fix query config editor 2020-06-01 18:38:40 +03:00
Alexander Zobnin
48767fe479 Update datasource config editor 2020-06-01 18:05:50 +03:00
Alexander Zobnin
9f344cb867 Refactor API calls 2020-05-29 12:33:37 +03:00
Alexander Zobnin
3a50146df7 ignore lodash _.move 2020-05-29 10:40:04 +03:00
Alexander Zobnin
11405d4dde Merge branch 'master' into backend 2020-05-29 10:33:11 +03:00
Alexander Zobnin
6a616b56e9 ZabbixQueryController: migrate to TS 2020-05-29 10:28:01 +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
88e8b689ad fix types 2020-05-28 12:15:05 +03:00