Commit Graph

937 Commits

Author SHA1 Message Date
Alexander Zobnin
e1557e3924 Fix saving alert rules 2021-06-02 13:39:33 +03:00
Alexander Zobnin
c546f2143d Mix backend and frontend queries from one panel 2021-06-01 20:47:16 +03:00
Alexander Zobnin
c81a6ae8c3 Use backend queries for item id mode 2021-06-01 13:01:54 +03:00
Alexander Zobnin
4f7699442e Enable backend requests 2021-05-28 13:11:44 +03:00
Alexander Zobnin
3dd00c4699 Convert frames to wide format if possible 2021-05-28 13:02:11 +03:00
Alexander Zobnin
4bb7fdd1fc Make alias functions work with different frames 2021-05-28 13:02:00 +03:00
Alexander Zobnin
393932068d Return results in a stable order 2021-05-28 12:34:04 +03:00
Alexander Zobnin
39e112394e Remove legacy functions 2021-05-27 14:21:29 +03:00
Alexander Zobnin
67289c91f7 Add first/last agg to top and bottom 2021-05-27 12:00:58 +03:00
Alexander Zobnin
5d3433aef5 Implement aggregateBy 2021-05-26 13:04:57 +03:00
Alexander Zobnin
1cdeafd9ca Add first and last agg to groupBy, #887 2021-05-26 12:22:17 +03:00
Alexander Zobnin
d5265921ee Apply alias functions on the frontend 2021-05-26 12:19:45 +03:00
Alexander Zobnin
37573e0152 Refactor filters 2021-05-24 10:46:28 +03:00
Alexander Zobnin
cb711777bc Disable backend queries temporary 2021-05-19 16:19:40 +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
072c959d23 Invoke metric queries on the backend 2021-03-09 18:23:34 +03:00
Alexander Zobnin
a596d3e18a update grafana packages 2021-03-09 18:23:34 +03:00
Alexander Zobnin
1fe640196b Bump plugin version to 4.1.4 2021-03-09 17:18:45 +03:00
Alexander Zobnin
dea321a124 Fix trendValue(sum) function for API queries, fixes #935 2021-03-09 15:11:36 +03:00
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
8ef3dc9b93 Bump plugin version to 4.1.3 2021-03-05 11:09:33 +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
fdaadaf83e Problems: show item value in tooltip, fix #1145 2021-02-04 13:35:23 +03:00
Alexander Zobnin
52b8317a91 Problems: fix pagination panel placement, fix #1149 2021-02-04 13:27:22 +03:00
Alexander Zobnin
8f07afac1e bump version to 4.1.2 2021-01-28 12:35:10 +03:00
Alexander Zobnin
152821e47d fix tests 2021-01-28 12:33:35 +03:00
Alexander Zobnin
884f4d02c6 Fix handling value mappings for ItemID mode, fix #1148 2021-01-28 11:25:03 +03:00
Alexander Zobnin
cee10f54bf Preserve expanded problems, fix #1143 2021-01-20 15:27:19 +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
b220b407d3 Problems: fix tooltip overlap, fix #1138 2021-01-20 12:07:39 +03:00
Alexander Zobnin
4556f90592 Use roundInterval from @grafana/data package, fix #1142 2021-01-20 11:45:25 +03:00
Alexander Zobnin
57543643ac bump plugin version 2020-12-30 14:23:22 +03:00
Alexander Zobnin
8bd85269b1 Fix parsing item update intervals 2020-12-28 13:13:16 +03:00
Alexander Zobnin
cdc891e3c6 Bump plugin version 2020-12-28 12:32:54 +03:00
Alexander Zobnin
e6bf021ad3 Problems: don't limit ack message, fix #1122 2020-12-28 11:47:59 +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
0de6403be4 Problems: fix empty query editor, #988 2020-11-17 18:23:38 +03:00