Commit Graph

985 Commits

Author SHA1 Message Date
Alexander Zobnin
4534679e65 Hide application filter for queries that do not support it, fixes #1643 2023-08-01 17:26:45 +02:00
Alexander Zobnin
308a6a1d46 Problems: fix pagination, fixes #1649 2023-08-01 16:15:34 +02:00
Alexander Zobnin
7af3dca545 Problems: Able to select tags evaluation type, fixes #1600 2023-08-01 15:53:13 +02:00
Alexander Zobnin
873947ca2e SLA: support multiple SLA in one query, fixes #1603 2023-08-01 15:04:35 +02:00
Alexander Zobnin
ac976945a5 Auth: Able to use API tokens for authentication (#1662)
* Auth: Able to use API tokens for authentication

* Update change log
2023-07-26 17:23:44 +02:00
lean.dev
8205f7aaf8 Support for secure socks proxy (#1650)
* Enables PDC for zabbix datasource

* 4.4.0

* Updating CHANGELOG

* Updating CHANGELOG

* Updating CHANGELOG
2023-07-25 18:54:48 +03:00
Alexander Zobnin
445f3fa173 Fix count by options in triggers query 2023-07-21 12:27:40 +02:00
Alexander Zobnin
193be3cd54 Bump version to 4.3.1 2023-03-23 16:50:56 +01:00
Alexander Zobnin
24285a9483 Fix item tag filter, #1594 2023-03-23 14:40:22 +01:00
Alexander Zobnin
fc1d809dc1 Fix timestamps for SLA graph, closes #1595 2023-03-23 13:26:27 +01:00
Alexander Zobnin
713678a32e Fix lastchange time in Problems list, closes #1596 2023-03-23 12:59:49 +01:00
Alexander Zobnin
23e9576c7d Use OR evaltype for problem tags filter 2023-03-22 11:01:43 +01:00
Alexander Zobnin
457894f7c0 Fix tags filter for problem history, closes #1592 2023-03-22 11:00:39 +01:00
Alexander Zobnin
1605b764c2 Fix db connection test result, #1590 2023-03-22 10:51:40 +01:00
Alexander Zobnin
24708032e3 Fix variable query editor, #1590 2023-03-22 10:38:10 +01:00
Alexander Zobnin
3f7f0f4384 Fix severity filter 2023-03-21 15:17:42 +01:00
Alexander Zobnin
da4bc13014 Bump version to 4.3.0 2023-03-21 14:52:54 +01:00
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