Commit Graph

819 Commits

Author SHA1 Message Date
memfiz
4f24b2bf23 fix not acknowledged problem color with a message (#858)
* fix not acknowledged problem color with a message

* fix not acknowledged problem color with a message, closes #857
2020-01-13 10:58:01 +03:00
vignesh-reddy
3f5719794a Backend: implement alerting query (#847)
* Unit tests for backend

* minor change

* Implemented querNumericItems in backend

* Added query type

* Set alerting to true

* Return TimeSeries from History

* Updated alerting feature

* Fix params marshal error

* Fix params more

* Update zabbixAPIConnector.js

* Numbers, I guess

* Params Output Type

* Output marshaling

* Unmarshal and decoder error catch

* HistoryPoint and Unmarshal fixes

* Unmarshal to History

* Revert "Update zabbixAPIConnector.js"

This reverts commit e0ffdff859b6f920893a47a709493f8076e38ef4.

* Fix unmarshaling for real

* Time range integer

* Use more zabbix.Items

* Update response_models.go

* Update zabbix_api.go

* Update models.go

* Update zabbix_api.go

* Tests

* Adding more unit tests and cleaning up additional logging

* Make history request param a pointer

* Actually store datasource in cache

* Debug logs and timings

* Handle panics gracefully

* Updated Regex filter parsing

* Removed must compile

* Clean up regex filter
2020-01-13 10:38:24 +03:00
Mark Reibert
dd28b28174 Fix percentile() function, closes #862 (#863)
Like the other aggregation functions, the datapoints need to be sorted in
time before calling groupBy_perf().
2020-01-11 20:28:32 +03:00
vignesh-reddy
c300debe35 Backend: Merge master into the backend branch (#845)
* CI: fix shellcheck issues (#789)

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>

* annotations: fix options in grafana 6.x, fix #813

* fix function editor in Grafana 6.4, closes #810

* add typings for grafana packages

* Add $__range_series variable for calculating function over the whole series, #531

* fix tests

* Don't set alert styles for react panels, fix #823

* docs: add range variables

* docs: percentile reference

* fix codespell

Co-authored-by: Mario Trangoni <mario@mariotrangoni.de>
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
2019-12-30 10:45:47 +03:00
Alexander Zobnin
d54d6d29dc problems: fix tag removal (list layout) 2019-12-30 10:36:36 +03:00
Alexander Zobnin
90b8bfa99c bump plugin version to 3.10.5 2019-12-26 17:59:24 +03:00
Alexander Zobnin
90a9115958 fix adding func from typeahead, closes #468 2019-12-26 17:30:13 +03:00
Alexander Zobnin
1e6ca2d518 problems: fix tags adding and removal 2019-12-26 17:06:15 +03:00
Alexander Zobnin
ff4ad1997f Fix 817 (#851)
* problems: update panel schema

* update packages (build with node 12)

* problems: use datasource from target

* problems: fix query editor after schema update

* problems: fix list layout

* update circleci node image to 12

* fix tests
2019-12-25 14:24:15 +03:00
Alexander Zobnin
aa93e752c8 Merge branch 'multidatasource-pr' of github.com:dneth/grafana-zabbix into dneth-multidatasource-pr 2019-12-13 13:52:09 +03:00
vignesh-reddy
0bb2f7c7d8 Backend: handle response on the frontend (#839) 2019-12-12 11:48:03 +03:00
Alexander Zobnin
6097e81a2c fix plugin.json changes 2019-12-12 11:31:28 +03:00
Alexander Zobnin
5afeda64cc Range-related variables #814 2019-10-28 16:24:56 +03:00
Alexander Zobnin
42d93b4d73 Don't set alert styles for react panels, fix #823 2019-10-28 11:44:47 +03:00
Alec Sears
2ef9a01a67 JSHint 2019-10-18 16:21:49 -05:00
Alec Sears
e153473421 Finish 2019-10-18 16:21:46 -05:00
Alec Sears
05243a9701 Progress 2019-10-18 16:17:48 -05:00
Alec Sears
233a6b1cf4 Fix codespell error 2019-10-10 15:15:55 -05:00
Alec Sears
e3e6c1512b Initial Changes 2019-10-10 15:15:55 -05:00
Alexander Zobnin
1d13520358 fix tests 2019-10-09 15:42:34 +03:00
Alexander Zobnin
1827aa942a Add $__range_series variable for calculating function over the whole series, #531 2019-10-09 15:26:35 +03:00
Alexander Zobnin
a652eafc46 fix function editor in Grafana 6.4, closes #810 2019-10-09 14:09:56 +03:00
Alexander Zobnin
9cf13230eb annotations: fix options in grafana 6.x, fix #813 2019-10-09 13:38:17 +03:00
Alexander Zobnin
6e80b49120 backend: handle response on the fronted 2019-09-26 21:35:00 +03:00
Alexander Zobnin
6b8c11f4f4 backend: proxy Zabbix API requests through the backend 2019-09-25 21:26:53 +03:00
Alexander Zobnin
3fccec1bb8 Initial boilerplate backend plugin 2019-09-24 19:28:51 +03:00
Alexander Zobnin
0855fe5189 Bump plugin version to 3.10.4 2019-08-08 12:49:50 +03:00
Alexander Zobnin
55ffe5eded Problems: fix heart icons, fix #754 2019-08-08 12:34:21 +03:00
Alexander Zobnin
e02b660dfd Problems panel: use skipDataQuery flag instead of deprecated dataFormats, fix #778 2019-08-08 12:00:05 +03:00
Alexander Zobnin
ff5a7f0136 fix tests (add kbn mock) 2019-07-31 14:36:30 +03:00
Alexander Zobnin
8f139d0322 SLA over time: make intervals based on panel intervalMs, #728 2019-07-30 18:56:42 +03:00
JeferCatarina
2fac45c11b SLA over time (#764)
* Added "Functions" to IT Services editor panel

* Added support to IT Services graph over time
2019-07-30 18:54:56 +03:00
Alexander Zobnin
15d76dc941 bump plugin version to 3.10.3 2019-07-26 14:46:39 +03:00
Alexander Zobnin
ca082c98a1 fix panel alert state icon in Grafana 6, closes #715 2019-07-08 16:31:48 +03:00
Alexander Zobnin
7727d86804 fix tests (add mocks for some grafana modules) 2019-07-08 15:45:50 +03:00
Alexander Zobnin
348a5165f2 function editor: fix moving alias func to the end 2019-07-08 15:38:30 +03:00
Alexander Zobnin
fbefe66d75 refactor: move react components to separate dir 2019-07-08 15:35:13 +03:00
Alexander Zobnin
4346e13365 fix function editor in Grafana 6, #765 2019-07-08 15:25:41 +03:00
Alexander Zobnin
6b5b5f818b fix direct DB connection datasource config, closes #731 2019-07-05 16:23:36 +03:00
Timo Myllymaki
f2627acf2c Fix linter errors 2019-06-19 12:37:30 +03:00
Timo Myllymaki
dc97b83804 Expand macros in trigger URL fields 2019-06-19 12:25:38 +03:00
Alexander Zobnin
3a7da58302 fix triggers count with latest Zabbix 4.x, closes #726 2019-04-24 10:12:38 +03:00
Alexander Zobnin
e1e5ea193a fix triggers count in latest zabbix 4.x, closes #726 2019-04-24 10:04:24 +03:00
Alexander Zobnin
7d6c0c2398 bump plugin version to 3.10.2 2019-04-23 20:09:49 +03:00
Alexander Zobnin
c5453041ac triggers mode: filter results by group, fix #709 2019-04-23 19:53:38 +03:00
Alexander Zobnin
f76cff2b89 Problems: fix multiline description at List view, closes #704 2019-04-22 15:51:07 +03:00
Alexander Zobnin
30ce9d8430 Problems: fix nodata styles, closes #717 2019-04-22 15:32:38 +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
938ca83e47 add migration for percentile agg 2019-04-19 13:14:41 +03:00