Commit Graph

108 Commits

Author SHA1 Message Date
Alexander Zobnin
10b70d672d disable test ignore due codecov problems 2017-10-30 22:46:04 +03:00
Alexander Zobnin
dc352b8eb9 ignore dist/test 2017-10-30 22:39:17 +03:00
Alexander Zobnin
e80a814880 migrate tests to Jest 2017-10-30 20:26:53 +03:00
Alexander Zobnin
7bf473238f don't fetch alerts for empty item list 2017-10-24 13:07:38 +03:00
Alexander Zobnin
d084e1723a fix empty field error in Item IDs mode 2017-10-24 13:01:32 +03:00
Alexander Zobnin
611bd8b8ad filter triggers by acknowledged status, #141 2017-10-24 12:44:01 +03:00
akotynski
d5c8dba61f fix dist folder after merging conflicts 2017-10-23 14:29:05 +02:00
akotynski
0ab31e59f8 Merge remote-tracking branch 'upstream/master' into threshold_regex
# Conflicts:
#	dist/datasource-zabbix/datasource.js
#	dist/datasource-zabbix/datasource.js.map
#	dist/datasource-zabbix/specs/test-main.js
#	dist/test/datasource-zabbix/datasource.js
#	dist/test/datasource-zabbix/specs/test-main.js
2017-10-23 14:26:46 +02:00
akotynski
eb1ef06ae7 upgrade jsdom to newest version so contextify is no longer required, add travis 2017-10-23 14:05:49 +02:00
akotynski
a15d704b86 return thresholds for expressions with less/greater than or equal 2017-10-23 13:42:47 +02:00
Alexander Zobnin
3e57b5479c fix tests 2017-10-22 19:09:21 +03:00
Alexander Zobnin
1f5e261d4a table mode with triggers stats, #141 2017-10-22 19:01:46 +03:00
Alexander Zobnin
6c64f21b1a Triggers query mode, allow to get active triggers count, #141 2017-10-22 14:30:54 +03:00
Alexander Zobnin
dacc3f3576 minor ds init refactor 2017-10-22 12:24:25 +03:00
Alexander Zobnin
df64c190e2 fix Zabbix API error message 2017-10-22 11:37:17 +03:00
Alexander Zobnin
33cdd17b9b postgres: simplify db queries 2017-10-18 15:31:03 +03:00
Alexander Zobnin
1ad2333907 postgres: add char format for itemid 2017-10-17 19:36:24 +03:00
Alexander Zobnin
3341b8f1f9 db-connector: initial postgres support 2017-10-17 19:30:18 +03:00
Alexander Zobnin
6aa7dc6c8f sortSeries: build dist 2017-10-16 15:36:57 +03:00
Alexander Zobnin
f53eac6f08 percentil: refactor 2017-10-16 15:25:02 +03:00
Alexander Zobnin
44f729e60b build dist 2017-10-16 14:39:00 +03:00
Alexander Zobnin
630dd17659 fix tether-drop dependency after moving Grafana to webpack 2017-10-11 20:04:49 +03:00
Alexander Zobnin
35f89bf97a mysql-connector: fix GROUP BY clause for working with MySQL 5.7, issue #445 2017-09-11 18:42:37 +03:00
Alexander Zobnin
e626ce4ca2 groupBy(): minor refactor 2017-07-28 12:42:49 +03:00
Alexander Zobnin
e7acd9d634 check dbConnection config object, issue #436 2017-07-26 19:13:44 +03:00
Alexander Zobnin
122a97e482 fix sumSeries() function, closes #286 2017-07-26 16:21:40 +03:00
Alexander Zobnin
995b4401b6 mysql-connector: fix reapplying functions to targets with equal items 2017-07-26 12:54:05 +03:00
Alexander Zobnin
39f4db5182 fix target backward compatibility 2017-07-26 12:11:12 +03:00
Alexander Zobnin
4020710d00 Merge branch 'master' into metric-functions 2017-07-26 11:53:49 +03:00
Alexander Zobnin
15f6c00763 query editor refactor 2017-07-26 11:32:09 +03:00
Alexander Zobnin
b23f6677dd itemid-mode: minor refactor 2017-07-26 11:16:07 +03:00
Alexander Zobnin
3b1bc4d4a5 support template variables in itemid query mode 2017-07-25 18:54:30 +03:00
Alexander Zobnin
fc1748a087 datasource: implement itemid query mode 2017-07-25 18:40:13 +03:00
Alexander Zobnin
a48da2cda6 query-editor: add itemid query mode 2017-07-25 17:54:21 +03:00
Alexander Zobnin
6b4ace6b54 query-editor: refresh panel when editor mode changed 2017-07-25 17:30:36 +03:00
Alexander Zobnin
4ec84b21e5 mysql-connector: test MySQL data source during ds config 2017-07-25 13:02:59 +03:00
Alexander Zobnin
996bc9e1d1 templating: fix queries contained regex with braces, fixes #432 2017-07-25 12:06:37 +03:00
Alexander Zobnin
39000acbf6 IT-services: refactor 2017-07-24 19:08:28 +03:00
Alexander Zobnin
70f34db385 IT-services: able to use regex for selecting of multiple services, issue #415 2017-07-24 19:02:09 +03:00
Alexander Zobnin
ba6a04a120 mysql-connector: fix tests 2017-07-23 11:38:30 +03:00
Alexander Zobnin
3f13aab9b8 mysql-connector: deduplicate requests 2017-07-23 10:09:12 +03:00
Alexander Zobnin
fb145575ec mysql-connector: use db queries only for numeric history requests 2017-07-23 09:26:08 +03:00
Alexander Zobnin
75f041f841 mysql-connector: imlement getTrends() 2017-07-22 21:28:27 +03:00
Alexander Zobnin
0da9aefccc mysql-connector: minor refactor 2017-07-22 21:09:17 +03:00
Alexander Zobnin
59bfacccbc mysql-connector: compact SQL queries 2017-07-22 21:01:16 +03:00
Alexander Zobnin
3795ce564e mysql-connector: use consolidateBy in SQL queries as agg func 2017-07-22 20:57:10 +03:00
Alexander Zobnin
327aee7ef4 add consolidateBy() function 2017-07-22 20:47:24 +03:00
Alexander Zobnin
0369fb83a5 mysql-connector: aggregate values by time interval on server side 2017-07-21 22:22:16 +03:00
Alexander Zobnin
32e8806158 mysql-connector: don't query ns column
Grafana handle time series on backend, so this column isn't used
2017-07-21 21:46:35 +03:00
Alexander Zobnin
16256f2778 mysql-connector: implement getHistory for DB connector 2017-07-21 21:43:19 +03:00