Commit Graph

91 Commits

Author SHA1 Message Date
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
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
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
Alexander Zobnin
6d89f36bb2 mysql-connector: initial ZabbixDBConnector class 2017-07-21 18:48:51 +03:00
Alexander Zobnin
6fa4baed0c mysql-connector: add config options for selecting data source
and load SQL data source during plugin init
2017-07-21 17:32:46 +03:00
Alexander Zobnin
eaaa86d31c annotations: replace variables in trigger name, fixes #428 2017-07-21 16:00:01 +03:00
Alexander Zobnin
e58cf62c36 Fix alert states for templated queries, closes #424 2017-07-10 12:18:53 +03:00
Alexander Zobnin
a30a155424 expMovingAvg: trick for first N points 2017-07-04 11:05:53 +03:00
Alexander Zobnin
e0466ea780 expMovingAvg: use window size as param 2017-07-04 10:16:41 +03:00
Alexander Zobnin
0b8cb0b23c functions: rename moving avg to graphite-like 2017-07-04 10:16:03 +03:00
Alexander Zobnin
f3ee574619 functions: exponential moving average 2017-07-03 23:13:33 +03:00
Alexander Zobnin
273e6df7e3 functions: simple moving average 2017-07-03 21:52:58 +03:00
Alexander Zobnin
ea67c3bc2f average and sum: fix for null values 2017-07-03 12:36:39 +03:00
Alexander Zobnin
badc5e4cb9 groupBy: fill empty intervals by null, closes #388 2017-07-03 12:03:17 +03:00
Alexander Zobnin
007ddbf72f Improve scale() performance 2017-06-26 12:23:04 +03:00
Alexander Zobnin
b087ecd37e Add bechmark for rate and delta. 2017-06-26 11:42:01 +03:00
Alexander Zobnin
d6b36772b6 Add rate() function resistant to counter reset 2017-06-26 11:26:13 +03:00