Commit Graph

615 Commits

Author SHA1 Message Date
Alexander Zobnin
9c9c665a8f Merge branch 'master' of github.com:alexanderzobnin/grafana-zabbix 2020-04-13 09:49:16 +03:00
Alexander Zobnin
3dfe29816b DB Connection: return detailed connection error for InfluxDB 2020-04-10 19:56:08 +03:00
Mario Dominguez
59a8fb1065 Problems: Pass scopedVars into replaceTemplateVars() function. (#913)
Co-authored-by: Mario Dominguez <mario.dominguez@datadope.io>
2020-04-10 11:29:52 +03:00
Alexander Zobnin
4adfb12d59 Update release date 2020-03-23 16:15:58 +03:00
Alexander Zobnin
2761b4d966 Migrate dataSourceSrv to getDataSourceSrv 2020-03-23 16:05:31 +03:00
Alexander Zobnin
dad0fd965d Migrate backendSrv to getBackendSrv, fix direct DB connection 2020-03-20 17:03:49 +03:00
Alexander Zobnin
4daee57681 Bump version to 3.11.0 2020-03-20 16:27:11 +03:00
Alexander Zobnin
9fd386a6ee Problems: fix panel rendering in 6.7, fixes #907 2020-03-20 09:29:06 +03:00
memfiz
94c5059fb1 fix event severity change (#872)
* fixed panel trigger severity if it is changed in event

* fixed panel trigger severity if it is changed in event

* fixed lastEvent check

* removed a comment

* fixed lastEvent check not empty
2020-01-24 16:39:15 +03:00
Alexander Zobnin
376183e8e4 Transform percentile function, closes #868 2020-01-15 11:02:17 +03:00
Alexander Zobnin
82cfda6524 Variable query editor (#856)
* refactor: convert module to typescript

* refactor: covert utils to typescript

* variable query editor WIP

* variable editor: fix type error after grafana/ui update

* variable editor: use FormLabel from grafana/ui

* variable editor: refactor

* variable editor: input validation and highlights

* variable editor: fix tests

* variable query: fix backward compatibility with empty queries

* fix linter errors

* variable editor: fix variable replacement in queries
2020-01-13 11:31:40 +03:00
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
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
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
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
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
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
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
Alexander Zobnin
05a746b42c Merge branch 'fix-codespell-issues' of git://github.com/mjtrangoni/grafana-zabbix into mjtrangoni-fix-codespell-issues 2019-04-19 13:00:25 +03:00
Alexander Zobnin
869634ef62 Fix ds provisioning with direct DB connection enabled (#723)
* fix ds provisioning with direct DB connection #711

* fix linter error
2019-04-19 12:56:51 +03:00
Mario Trangoni
0e81752ab8 lint: Fix disallowSpacesInsideArrayBrackets issues
See,

disallowSpacesInsideArrayBrackets: Illegal space after opening bracket at src/datasource-zabbix/specs/utils.spec.js :
   156 |        },
   157 |        {
   158 |          array: [ [[1, 2], [3, 4]], [[1, 2], [3, 4]] ],
--------------------------^
   159 |          depth: 3
   160 |        },

disallowSpacesInsideArrayBrackets: Illegal space before closing bracket at src/datasource-zabbix/specs/utils.spec.js :
   156 |        },
   157 |        {
   158 |          array: [ [[1, 2], [3, 4]], [[1, 2], [3, 4]] ],
-------------------------------------------------------------^
   159 |          depth: 3
   160 |        },

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
2019-04-10 20:00:17 +02:00
Mario Trangoni
2f9be7a184 src/*: Fix codespell issues
See,
$ codespell -S './src/img/*.png,./.git*' -L que

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
2019-04-10 19:35:34 +02:00