Commit Graph

298 Commits

Author SHA1 Message Date
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
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
c7c9412a14 Fix problems list panel error in new Grafana version 2022-04-18 16:19:57 +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
2a6642811e Tweak problem details styles 2021-08-10 14:05:16 +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
Alexander Zobnin
7af0d6a189 Fix tests 2021-08-06 14:40:46 +03:00
Alexander Zobnin
201d6cb19a Fix problem details layout, fixes #1252 2021-08-03 13:57:26 +03:00
Alexander Zobnin
12c4089a50 Fix building after update to Grafana 8 components 2021-08-02 18:37:48 +03:00
Alexander Zobnin
a596d3e18a update grafana packages 2021-03-09 18:23:34 +03:00
Alexander Zobnin
fdaadaf83e Problems: show item value in tooltip, fix #1145 2021-02-04 13:35:23 +03:00
Alexander Zobnin
cee10f54bf Preserve expanded problems, fix #1143 2021-01-20 15:27:19 +03:00
Alexander Zobnin
e6bf021ad3 Problems: don't limit ack message, fix #1122 2020-12-28 11:47:59 +03:00
Alexander Zobnin
0de6403be4 Problems: fix empty query editor, #988 2020-11-17 18:23:38 +03:00
Alexander Zobnin
965216a607 Chore: clean up 2020-11-09 18:37:10 +03:00
Alexander Zobnin
28488cecff Problems: fix long item values displaying 2020-11-09 17:54:57 +03:00
Alexander Zobnin
0206ad1448 Fix problems panel tests 2020-08-25 16:03:23 +03:00
Alexander Zobnin
804cc1cac6 Problems: invoke renderingCompleted() to update panelsRendered variable, fix #1016 2020-08-25 13:06:03 +03:00
Alexander Zobnin
83077f6723 Problems: fix sorting by severity, fixes #921 2020-08-06 13:28:21 +03:00
Alexander Zobnin
cf7f864112 Problems: show tooltip with full description 2020-07-21 13:18:26 +03:00
Alexander Zobnin
2bd04e9c22 fix tests 2020-07-21 10:12:56 +03:00
Alexander Zobnin
6a1145c9fc Problems: fix sorting 2020-07-21 09:47:06 +03:00
Alexander Zobnin
4c40e18c5b Problems: fix item value tooltip placement 2020-06-17 13:04:31 +03:00
Alexander Zobnin
5e5325ed35 Fix error handling in Ack and Exec modals 2020-06-02 13:01:31 +03:00
Alexander Zobnin
c4f8fb1501 Execute script modal: fix type errors 2020-06-02 12:31:04 +03:00
Alexander Zobnin
1cdd8a97e4 Merge branch 'exec-script' into backend 2020-06-02 12:29:08 +03:00
Alexander Zobnin
48767fe479 Update datasource config editor 2020-06-01 18:05:50 +03:00
Alexander Zobnin
88e8b689ad fix types 2020-05-28 12:15:05 +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
092acec295 Exec script dialog 2020-05-28 10:44:16 +03:00
Alexander Zobnin
16ca294be0 Problems: panel icon 2020-05-21 11:45:38 +03:00
Alexander Zobnin
28c8bdfd74 Fix duplicated keys on event time line 2020-05-20 18:58:02 +03:00
Alexander Zobnin
dd2ada73ad Fix AckModal styles 2020-05-20 18:52:42 +03:00
Alexander Zobnin
b769a0af8f Action button refactor 2020-05-20 12:04:55 +03:00
Alexander Zobnin
3aaf58b05a Explore button: fix item name building 2020-05-20 11:21:59 +03:00
Alexander Zobnin
cf578b7249 Fix building explore url with % character 2020-05-20 11:16:57 +03:00
Alexander Zobnin
2cf9b5abd9 Explore button refactor 2020-05-20 11:16:21 +03:00
Alexander Zobnin
f6e127e55c Chore: modal refactor 2020-05-19 17:31:03 +03:00
Alexander Zobnin
0c2197e4ad Chore: move shared components to components/ 2020-05-19 12:26:04 +03:00
Alexander Zobnin
ca0f297ac7 Move tooltip to components 2020-05-19 11:48:10 +03:00
Alexander Zobnin
1a6849b597 fix duplicated keys in alert list 2020-05-19 10:18:44 +03:00
Alexander Zobnin
cd3afb65c2 Problems: fix initial severity for ack modal 2020-05-18 19:46:05 +03:00
Alexander Zobnin
959cea2061 Problems: improve ack dialog (add ack options), closes #942 2020-05-18 19:41:33 +03:00
Alexander Zobnin
a34b72c2b6 Problems: truncate long problem description 2020-05-18 16:18:15 +03:00
Alexander Zobnin
85d9855e51 Explore button: remove tooltip 2020-05-18 14:23:33 +03:00