Commit Graph

34 Commits

Author SHA1 Message Date
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
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
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
657bf771a4 Use tooltip from grafana/ui 2022-02-15 18:22:02 +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
201d6cb19a Fix problem details layout, fixes #1252 2021-08-03 13:57:26 +03:00
Alexander Zobnin
fdaadaf83e Problems: show item value in tooltip, fix #1145 2021-02-04 13:35:23 +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
cf7f864112 Problems: show tooltip with full description 2020-07-21 13:18:26 +03:00
Alexander Zobnin
4c40e18c5b Problems: fix item value tooltip placement 2020-06-17 13:04:31 +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
b769a0af8f Action button refactor 2020-05-20 12:04:55 +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
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
Alexander Zobnin
9f69dc9b48 Problems: use metrics query type for single item, #948 2020-05-18 14:21:14 +03:00
Alexander Zobnin
cdb09127fb Problems: navigate to Explore button, #948 2020-05-18 14:13:12 +03:00
Alexander Zobnin
056f82731e Problems: use problems.get method for fetching triggers, closes #495 2020-05-15 18:17:54 +03:00
Alexander Zobnin
f908376802 Problems panel: hide acknowledge button for read-only users, fix #722 2019-04-22 13:10:23 +03:00
Alexander Zobnin
bc889ffe30 Fix problems fetching performance and memory issues (#724)
* request only alert message when invoking alert.get

* fetch problem alerts on demand

* problems panel: refactor
2019-04-22 12:29:05 +03:00
Alexander Zobnin
9cabb58ac1 problems: make timeline optional 2019-02-13 20:21:18 +03:00
Alexander Zobnin
98ff776f3a problems: remove debug logging 2019-02-13 19:54:36 +03:00
Alexander Zobnin
55f206d091 problems: don't display empty acknowledges list 2019-02-13 11:52:32 +03:00
Alexander Zobnin
12ccba0187 problems: remove tag filter with Ctrl/Shift+click 2019-02-12 22:28:06 +03:00
Alexander Zobnin
38bf47f832 problems: refactor 2019-02-12 22:28:05 +03:00