Commit Graph

31 Commits

Author SHA1 Message Date
Alexander Zobnin
6151af256b fix datasource tests 2018-08-28 18:15:53 +03:00
Alexander Zobnin
8a51d1d854 minor refactor 2018-08-28 16:37:51 +03:00
Alexander Zobnin
ca6a7d02c4 refactor of PR #526 2018-02-20 22:21:24 +03:00
akotynski
a9d0b4195e remove options to hide columns 2018-02-16 09:08:06 +01:00
akotynski
cc87f731aa Add options for table 2018-02-14 11:52:40 +01:00
Alexander Zobnin
48a003a930 fix regex-based text filter 2018-01-27 13:26:14 +03:00
Alexander Zobnin
7a517be6e1 tests for text data table format 2018-01-27 13:17:31 +03:00
Alexander Zobnin
63a2594cf3 fix aggregateBy func, fix #498 2017-12-20 12:51:07 +03:00
Alexander Zobnin
e80a814880 migrate tests to Jest 2017-10-30 20:26:53 +03: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
122a97e482 fix sumSeries() function, closes #286 2017-07-26 16:21:40 +03:00
Alexander Zobnin
39f4db5182 fix target backward compatibility 2017-07-26 12:11:12 +03:00
Alexander Zobnin
996bc9e1d1 templating: fix queries contained regex with braces, fixes #432 2017-07-25 12:06:37 +03:00
Alexander Zobnin
ba6a04a120 mysql-connector: fix tests 2017-07-23 11:38:30 +03:00
Alexander Zobnin
4a20651a04 Fix unit tests after refactor 2017-06-15 22:38:56 +03:00
Alexander Zobnin
b0344dc817 Fix potential bug in key array params expanding 2017-05-17 22:25:01 +03:00
Alexander Zobnin
253ed4fb72 Fix item name expanding when key contains commas in quoted params 2017-05-17 21:51:07 +03:00
Alexander Zobnin
ea59983721 Fix tests for new trends options 2017-05-16 12:01:07 +03:00
Alexander Zobnin
59fa345927 Fix tests after merging alerting 2017-03-28 19:44:31 +03:00
Alexander Zobnin
f805213b02 Initial alerting feature. This implementation doesn't use Grafana alerting,
instead it get triggers for particular metrics and sets panel's alert state.
2017-03-05 13:59:23 +03:00
Alexander Zobnin
4dc4e3b8ea Refactor: fix tests. 2016-11-13 19:02:37 +03:00
Alexander Zobnin
ce8d9f4be8 Refactor: replace angular $q by native Promise. 2016-11-13 15:56:35 +03:00
Alexander Zobnin
032927cf8f Refactor: queryProcessor renamend to queryBuilder. 2016-11-13 13:16:07 +03:00
Alexander Zobnin
cb5461a472 Tests: added tests for template variable query, issue #303. 2016-11-09 20:34:05 +03:00
Alexander Zobnin
f8419f04a9 Tests: added tests for template variables replacing. 2016-11-09 16:52:12 +03:00
Alexander Zobnin
a8079316d7 Update datemath mock to lodash 4. 2016-11-09 15:00:36 +03:00
Alexander Zobnin
e64ae98378 Add trend using tests. Use sinon for checking functions calls. 2016-08-14 14:53:40 +03:00
Alexander Zobnin
d247fc8a99 Initial unit tests (using Mocha and Chai asserts). 2016-08-14 11:58:53 +03:00