Commit Graph

903 Commits

Author SHA1 Message Date
Alexander Zobnin
cded14d9b7 Use maintenance logic from problems, not from hosts, #830
Co-authored-by: Sam H <samuel.hudnall@alum.lynchburg.edu>
2022-12-27 11:52:29 +01:00
Alexander Zobnin
b32fd7e77a Fix item tags support 2022-12-15 17:06:17 +01:00
Alexander Zobnin
e3e896742b Build plugin with grafana toolkit (#1539)
* Use grafana toolkit template for building plugin

* Fix linter and type errors

* Update styles building

* Fix sass deprecation warning

* Remove empty js files produced by webpack building sass

* Fix signing script

* Replace classnames with cx

* Fix data source config page

* Use custom webpack config instead of overriding original one

* Use gpx_ prefix for plugin executable

* Remove unused configs

* Roll back react hooks dependencies usage

* Move plugin-specific ts config to root config file

* Temporary do not use rst2html for function description tooltip

* Remove unused code

* remove unused dependencies

* update react table dependency

* Migrate tests to typescript

* remove unused dependencies

* Remove old webpack configs

* Add sign target to makefile

* Add magefile

* Update CI test job

* Update go packages

* Update build instructions

* Downgrade go version to 1.18

* Fix go version in ci

* Fix metric picker

* Add comment to webpack config

* remove angular mocks

* update bra config

* Rename datasource-zabbix to datasource (fix mage build)

* Add instructions for building backend with mage

* Fix webpack targets

* Fix ci backend tests

* Add initial e2e tests

* Fix e2e ci tests

* Update docker compose for cypress tests

* build grafana docker image

* Fix docker stop task

* CI: add Grafana compatibility check
2022-12-09 14:14:34 +03:00
Alexander Zobnin
26ed740945 Refactor: format some files 2022-11-30 15:08:12 +01:00
Alexander Zobnin
14987efae4 Fix metric picker query update 2022-11-30 14:03:01 +01:00
Alexander Zobnin
8aebc649db Problems: deactivate tooltip with hint for tags 2022-11-30 12:17:46 +01:00
Alexander Zobnin
9b2079c1da Migrate problems panel to React (#1532)
* Replace default angular app config editor

* Problems panel: migrate module to ts

* Problems panel options editor to react

* Problems panel react WIP

* Fix explore button

* Problems panel alert list layout WIP

* Refactor

* Minor tweaks on panel options

* remove outdated tests

* Update typescript

* Draft for tag event handling

* Remove unused files
2022-11-30 14:01:21 +03:00
Alexander Zobnin
504c9af226 Migrate query editor to react (#1520)
* Initial react query editor

* CI: run checks on all branches

* Update react packages

* Initial metric picker

* Load metrics

* Tweak styles

* Add variables to metric options

* Tweak styles

* Filtering and keyboard navigation

* Open menu with keyboard

* Update function editor

* Move functions in editor

* Add function component

* Edit func params

* Push alias functions to the end

* Tweak labels size

* Fix menu position

* Metric options editor

* Fix css styles building

* More work on query options

* Fix tests

* Refactor: extract metrics query editor and functions editor

* Refactor: move things around

* Text metrics editor

* Problems query editor

* Problems mode options

* Item id query editor

* IT services query editor

* Triggers query editor

* Refactor: remove unused

* remove derprecated theme usage

* Load proxy options

* Fetch metric options on variable change

* Remove angular query editor

* Migrate annotations editor to react

* Fix tests
2022-11-09 17:50:13 +03:00
Alexander Zobnin
24c47a3036 Bump version to 4.2.10 2022-09-01 12:31:13 +03:00
Alexander Zobnin
b34408739c InfluxDB: fix data format (use data frames), #1255 2022-08-31 15:30:37 +03:00
Alexander Zobnin
bd12fb094c Fix InfluxDB query, #1255 2022-08-31 14:31:37 +03:00
Alexander Zobnin
84ed2f17ed Bump version to 4.2.9 2022-07-12 09:31:40 +03:00
Alexander Zobnin
5777c2dd0f Query object ids explicitly 2022-07-12 09:18:16 +03:00
Alexander Zobnin
6fed222b05 Select groupid explicitly to fix queries 2022-07-08 14:59:08 +03:00
Alexander Zobnin
d2645a43b2 Fix fetching host groups, #1470 2022-07-08 14:48:57 +03:00
Alexander Zobnin
07bc5ba6d9 Bump version to 4.2.8 2022-05-06 13:13:02 +03:00
Alexander Zobnin
84419de6f5 Fix displaying metric names and alias functions, closes #1444 2022-05-06 12:17:06 +03:00
Alexander Zobnin
f7e2118493 Bump version to 4.2.7 2022-05-04 12:13:49 +03:00
Alexander Zobnin
744280798a Fallback for SLA in Zabbix 6.0, fixes #1408 2022-04-29 12:15:24 +03:00
Alexander Zobnin
6f41260acf Move dashboards into data source dir in build, fixes #1407 2022-04-27 16:34:24 +03:00
Alexander Zobnin
13d89a0806 Fix parsing tags without value, fixes #1420 2022-04-27 14:13:50 +03:00
Alexander Zobnin
c7c9412a14 Fix problems list panel error in new Grafana version 2022-04-18 16:19:57 +03:00
Sriramajeyam Sugumaran
1afabdd871 Bump version to 4.2.6 2022-04-04 11:29:00 +01:00
Sriram
928417e27f Fixes #1403
Fixes #1403

After fix
2022-03-03 17:52:27 +00:00
Alexander Zobnin
69e92a1ce7 Bump version to 4.2.5 2022-02-17 16:39:33 +03:00
Alexander Zobnin
afb90c9643 Fix using units from Zabbix, #1321 2022-02-17 16:17:49 +03:00
Alexander Zobnin
657bf771a4 Use tooltip from grafana/ui 2022-02-15 18:22:02 +03:00
Alexander Zobnin
709e3ff65a Fix type errors (tests are failed) 2022-02-15 18:08:13 +03:00
Alexander Zobnin
edde2bdf33 Fix error when opening problem details, #1357 2022-01-27 13:56:51 +03:00
Alexander Zobnin
f6e25409f1 Make sure calculated interval is an integer, fixes #1320 2021-12-02 17:38:11 +03:00
Alexander Zobnin
e47b6ffb8c Bump plugin version to 4.2.4 2021-09-27 17:34:30 +03:00
Alexander Zobnin
d3bf7eb74e Fix conversion to wide data frame, fixes #1309 2021-09-22 14:57:38 +03:00
Alexander Zobnin
b65a638b0d Bump plugin version to 4.2.3 2021-09-21 13:50:28 +03:00
Alexander Zobnin
fa2619a7c5 Fix DB connection queries on small time ranges 2021-09-21 12:49:25 +03:00
Alexander Zobnin
c00a0e1c3f Fix db connection query post processing 2021-09-20 17:56:26 +03:00
Alexander Zobnin
f4f346aceb Fix filtering items by tag set with variable, closes #1283 2021-09-10 16:23:55 +03:00
Alexander Zobnin
d389e00865 Fix error when creating new variable, fixes #1282 2021-08-31 17:52:10 +03:00
Alexander Zobnin
e9db978235 Bump plugin version to 4.2.2 2021-08-25 17:41:09 +03:00
Alexander Zobnin
5c3fc03659 Fix missing host name when direct db connection enabled, fixes #1265 2021-08-25 12:41:18 +03:00
Alexander Zobnin
5ed80a60e7 Fix parsing timeout (use number instead of string), fixes #1254 2021-08-11 13:32:37 +03:00
Alexander Zobnin
95afc7460d Bump version to 4.2.1 2021-08-10 22:27:04 +03:00
Alexander Zobnin
5321c07a30 Bump version to 4.2.0 2021-08-10 16:56:21 +03:00
Alexander Zobnin
2a6642811e Tweak problem details styles 2021-08-10 14:05:16 +03:00
Alexander Zobnin
19f939e3f6 Fix options editor styles 2021-08-10 13:43:48 +03:00
Alexander Zobnin
21f1d87dc1 Support item tags as variables 2021-08-10 12:34:18 +03:00
Alexander Zobnin
b79356731a Check item tag field for variables 2021-08-10 11:48:21 +03:00
Alexander Zobnin
5340b9c98e Fix switching editor to item tags on init 2021-08-10 11:44:06 +03:00
Alexander Zobnin
bea87fdf4e Remove time series benchmark since functions moved to the backend 2021-08-10 10:24:52 +03:00
Alexander Zobnin
5de5c2b143 Fix tests 2021-08-09 18:07:53 +03:00
Alexander Zobnin
8499d726b2 Fix Explore button, fixes #1240
Also pass dashboard time range to the explore view.
2021-08-09 17:55:37 +03:00