Commit Graph

325 Commits

Author SHA1 Message Date
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
Alexander Zobnin
e4bbecb18b fix multiple agg functions handling, closes #530 2019-03-07 10:35:36 +03:00
Alexander Zobnin
e52e296c11 fix datasource provisioning with direct DB connection enabled, closes #688 2019-03-05 14:13:05 +03:00
Alexander Zobnin
f2d690f92b influxdb: fix trends query, closes #675 2019-03-04 17:39:10 +03:00
Alexander Zobnin
6449b8b255 fix annotations with full day/week/month intervals, closes #680 2019-03-01 14:00:15 +03:00
Alexander Zobnin
55158de311 fix median() function bug, closes #690 2019-03-01 13:42:37 +03:00
Alexander Zobnin
5884c8f3f9 fix offset() function, #683 2019-03-01 13:26:09 +03:00
Alexander Zobnin
6ca59e4592 fix missing ngInject 2019-02-14 14:41:42 +03:00
Alexander Zobnin
f00d191789 use debug log level for query timings 2019-02-14 14:14:25 +03:00
Alexander Zobnin
ae32dfb9a7 use trends only if interval strictly greater than specified 2019-02-14 10:55:34 +03:00
Alexander Zobnin
a41df652b2 influx: docs for retention policy option 2019-02-14 10:55:34 +03:00
Alexander Zobnin
089700d227 influx: support retention policy for long-term stored data 2019-02-14 10:55:34 +03:00
Alexander Zobnin
d061a3ddce config page: rename SQL data sources to DB data sources 2019-02-14 10:55:34 +03:00
Alexander Zobnin
054e5518c5 tests for influxdb connector 2019-02-14 10:55:34 +03:00
Alexander Zobnin
4bb8df19f6 datasource: query performance logging 2019-02-14 10:54:33 +03:00
Alexander Zobnin
c5b690188f influx: handle influxdb errors 2019-02-14 10:54:32 +03:00
Alexander Zobnin
42839648c4 db connector: fix tests 2019-02-14 10:54:32 +03:00
Alexander Zobnin
6af18e493e influx: remove unused limit option 2019-02-14 10:51:14 +03:00
Alexander Zobnin
369565ab7f influx: able to use arbitrary aggregation 2019-02-14 10:51:14 +03:00
Alexander Zobnin
d55757b3f1 influx: use fill(none) by default 2019-02-14 10:51:14 +03:00
Alexander Zobnin
34ba8bba1c db connector: ds loading refactor 2019-02-14 10:51:14 +03:00
Alexander Zobnin
6eb52619b9 db connector: refactor 2019-02-14 10:51:13 +03:00
Alexander Zobnin
6da2479e9d influx connector: refactor 2019-02-14 10:47:32 +03:00
Alexander Zobnin
ec436cb3d5 initial influxdb connector 2019-02-14 10:47:32 +03:00
Alexander Zobnin
a3ab102a06 influxdb connector WIP 2019-02-14 10:47:32 +03:00
Alexander Zobnin
d9c2613f86 fix removeAboveValue and removeBelowValue, #562 2019-02-13 14:04:21 +03:00
Alexander Zobnin
78f6a93ed5 PR for #562: fix merge conflicts 2019-02-13 13:44:12 +03:00
Alexander Zobnin
1913430f37 fix t.replace is not a function, #661 2019-02-12 22:28:07 +03:00
Alexander Zobnin
8809b5a9d3 problems: use event tags for problems instead of trigger tags, #487 2019-02-12 22:28:06 +03:00
Alexander Zobnin
268de33d96 problems: limit events in timeline 2019-02-12 22:28:03 +03:00
Alexander Zobnin
198110e2af problem panels: get problem actions 2019-02-12 22:27:56 +03:00
drakosha
e36336864a Offset function added (#638)
* Shift function added

* Remane shift function to offset
2018-11-28 17:30:51 +03:00
Alexander Zobnin
faf66a60e6 fix editor styles loading 2018-11-16 13:42:45 +03:00
Alexander Zobnin
25f59db83e disable auto creation of Zabbix Server dashboard, #422 2018-11-15 11:23:27 +03:00
Alexander Zobnin
e408c77411 tests for proxy filtering, #418 2018-11-15 10:37:57 +03:00
Alexander Zobnin
2b44a40c55 tests: extract mocks into separate module 2018-11-15 10:13:49 +03:00
Alexander Zobnin
89a4364212 triggers: able to filter by proxy, #418 2018-11-07 22:32:46 +03:00
Alexander Zobnin
85f320aae3 add method for querying list of proxies 2018-11-07 10:54:06 +03:00
Tommi Palomäki
3b88711baf consolidateBy(sum) must calculate sums inside the one-hour trend period, fixes #604 2018-10-25 11:40:57 +03:00
Alexander Zobnin
00ee042cef update links to docs to github pages 2018-10-21 21:04:03 +03:00
Alexander Zobnin
373769e857 fix linter errors 2018-10-21 17:18:49 +03:00
Alexander Zobnin
6666a4f863 webpack: clean up grunt tasks (leave only benchmark runner) #632 2018-10-21 17:02:43 +03:00
Alexander Zobnin
331634dfdf initial webpack build, #632 2018-10-21 14:08:27 +03:00
Alexander Zobnin
c73078d1fb fix event ack for Zabbix 4.x, #629 2018-10-21 12:13:25 +03:00
Alexander Zobnin
92a08a5c58 autodetect zabbix version 2018-10-18 21:47:17 +03:00