Commit Graph

918 Commits

Author SHA1 Message Date
Alexander Zobnin
f7150f9281 Show acknowledge author, fixes #1281
Also fix displaying time
2023-03-21 14:00:17 +01:00
Alexander Zobnin
f1c3c57c9f Fix uppercase label 2023-03-21 13:03:14 +01:00
Alexander Zobnin
418fe7a70d Add name to triggers data frame, fixes #1441 2023-03-21 12:51:05 +01:00
Alexander Zobnin
dd6798834a Improve tags performance (#1526)
Co-authored-by: Erik De Neve <erik.de.neve@telenet.be>
2023-03-21 12:28:34 +01:00
Alexander Zobnin
07c02ca97a Problems: filter by particular severity, fixes #572 2023-03-20 17:20:44 +01:00
Alexander Zobnin
9deb7ddc3e Disable unused features 2023-03-09 10:07:32 +01:00
Alexander Zobnin
8c1bf054ae Use loadPluginCss from grafana/runtime 2023-02-27 10:44:00 +01:00
Alexander Zobnin
41d292c51d Problems: Add operational data field, closes #1260 2023-01-20 16:52:48 +01:00
Alexander Zobnin
bc62e35477 Problems: Allow HTML in description (#1559)
* Problems: allow HTML in problem description, closes #1557

* Don't replace new line with <br>

* Replace line brakes with <br> if allowDangerousHTML enabled

* List layout: only show html formatted description if option is enabled
2023-01-20 15:11:12 +01:00
Alexander Zobnin
a5c239f77b Problems count mode (#1493)
* Problems count mode

* Use tooltip from grafana ui

* Add editors for new modes

* Fix macro mode

* Fix bugs

* Unify editors to use one Triggers editor for all count queries

* Use time range toggle for triggers query, #918

* Add item tags suport for triggers count mode

* Fix triggers count by items

* Use data frames for triggers data, #1441

* Return empty result if no items found

* Add migration for problems count mode

* bump version to 4.3.0-pre

* Add zip task to makefile

* Add schema to query model

* Minor refactor

* Refactor: move components to separate files

* Minor refactor

* Support url in event tags

* Add tooltip with link url

* Update grafana packages

* Fix adding new problems panel

* ProblemDetails: rewrite as a functional component

* minor refactor
2023-01-20 14:23:46 +01:00
Alexander Zobnin
445b46a6aa Fix host maintenance label 2022-12-29 16:48:03 +01:00
Alexander Zobnin
89d33a868e Fix text metric editor layout 2022-12-29 16:29:49 +01:00
Alexander Zobnin
5606dac522 Fix maintenance filtering, #830 2022-12-29 16:09:15 +01:00
Alexander Zobnin
cf6b19e189 Query option to override use trends option, fixes #1442 2022-12-29 14:07:02 +01:00
Alexander Zobnin
1cee6f0ae3 SLA support in Zabbix 6.0 (#1547) 2022-12-29 15:32:39 +03:00
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