Commit Graph

63 Commits

Author SHA1 Message Date
Alexander Zobnin
3eb5dc49e6 refactor: extract isUseTrends() function 2017-06-08 13:20:43 +03:00
Alexander Zobnin
48d21837b4 Fix timeshift() function with multiple targets, closes #338 2017-05-16 12:02:49 +03:00
Alexander Zobnin
c5a20d4d56 add host name to multiple text metrics 2017-04-20 10:05:55 +03:00
Alexander Zobnin
e241a5f990 Able to use both time and range for trends config, #364 2017-04-18 15:14:32 +03:00
Alexander Zobnin
682be45901 Support ms resolution.
Patch from Jay Dawes <ajaxous@gmail.com>
2017-03-26 19:20:18 +03:00
Alexander Zobnin
abf979de4b Add Min severity option to datasource config. 2017-03-08 16:27:15 +03:00
Alexander Zobnin
56782494fd Move alerting functions into zabbixAlertingSrv. 2017-03-08 15:49:39 +03:00
Alexander Zobnin
f2896fe1e4 Add thresholds to panels from zabbix triggers. 2017-03-06 12:20:18 +03:00
Alexander Zobnin
2f385faa1b Fix panel alert state changing to OK. 2017-03-06 09:19:56 +03:00
Alexander Zobnin
ca63fbe5a3 Add option for alerting to data source config. 2017-03-05 14:14:05 +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
5192e8648d Replace native map() and forEach() methods by lodash. 2017-03-05 10:09:47 +03:00
Alexander Zobnin
94c24e9be4 Fix templatig issue, when no values returned, closes #354 2017-02-11 16:26:23 +03:00
Alexander Zobnin
873b57e71a Fix error for new empty panel, fixes #337 2017-02-01 19:12:09 +03:00
Alexander Zobnin
54c03e6ece Added timeShift() function, closes #307. 2016-11-17 21:20:37 +03:00
Alexander Zobnin
fd772fab15 Refactor: dataProcessor.js 2016-11-14 17:52:59 +03:00
Alexander Zobnin
4dc4e3b8ea Refactor: fix tests. 2016-11-13 19:02:37 +03:00
Alexander Zobnin
6e0f59cd69 Refactor: datasource.js 2016-11-13 18:54:28 +03:00
Alexander Zobnin
d11f1b7616 Refactor: move zabbix requests to single place (zabbix.js module). 2016-11-13 17:47:38 +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
88ddcd0c42 Refactor: move zabbix api response handle to separate module. 2016-11-12 21:26:34 +03:00
Alexander Zobnin
2e57b9b166 Refactor: queryProcessor.service. 2016-11-12 20:49:32 +03:00
Alexander Zobnin
062d975319 Refactor: improved working with promises in testDatasource() method. 2016-11-11 19:38:23 +03:00
Alexander Zobnin
afe2cfc7cf Fixed zabbixTemplateFormat() error. 2016-11-09 21:23:03 +03:00
Alexander Zobnin
f8419f04a9 Tests: added tests for template variables replacing. 2016-11-09 16:52:12 +03:00
Alexander Zobnin
2330a3ae08 Annotations: show host name as colored tag. 2016-11-07 23:30:58 +03:00
Alexander Zobnin
77e16b70a5 Refactor: removed trick with self and this. 2016-11-07 21:19:29 +03:00
Alexander Zobnin
ca97d392e9 Fixed annotation popup bug after lodash upgrade. 2016-11-07 21:14:40 +03:00
Alexander Zobnin
62509caeb9 Fixed annotations bug with time filtering, fixes #244. 2016-11-07 21:03:42 +03:00
Alexander Zobnin
65308375f4 Fixed linter warnings. 2016-09-27 20:28:18 +03:00
Alexander Zobnin
07ad717df4 Fix backward compatibility with lodash 2.4, fixes #279. 2016-09-27 20:15:05 +03:00
Alexander Zobnin
aa882d752e Add top N and bottom N filter functions, closes #241. 2016-09-24 12:53:18 +03:00
Alexander Zobnin
70503a0647 Fixed lodash migration issues after upgrade to 4.x.
Moved: _.contains -> _.includes
		   _.object -> _.zipObject
		   _.first - replaced by native slice()
2016-09-17 22:33:19 +03:00
Alexander Zobnin
74503655bd Fixed missed lodash indexBy() after upgrade to 4.x. 2016-09-15 22:14:26 +03:00
Alexander Zobnin
2882a48f25 Support template variables in functions, fixes #205. 2016-08-13 20:28:24 +03:00
Alexander Zobnin
f3f308d7e2 Datasource refactor. 2016-08-13 18:41:19 +03:00
Alexander Zobnin
ca5bd47544 Removed unused logging. 2016-08-13 15:52:10 +03:00
Alexander Zobnin
a22ad010a6 Use history for text data queries, fixes #250. 2016-08-13 10:05:48 +03:00
Alexander Zobnin
5398d3f294 Fix #233 - auto wrap template variable with /^ $/ 2016-07-03 09:51:22 +03:00
Alexander Zobnin
c3da65e237 Resolved #201 - add scale() function. 2016-06-19 20:14:14 +03:00
Alexander Zobnin
8fa35230f4 datasource.js refactor. 2016-04-14 18:33:18 +03:00
Alexander Zobnin
59b0f14465 Fixed #132 - support text items in template variables. 2016-04-12 15:28:02 +03:00
Alexander Zobnin
cdc6b96c41 Fixed #176 - Table panel issue with TextMode and multiple items. 2016-04-12 14:59:36 +03:00
Alexander Zobnin
e210150c82 Fixed building request for text metrics. 2016-04-12 14:29:12 +03:00
Alexander Zobnin
4ddfc4becf replaceTemplateVars() refactor. 2016-04-12 13:33:36 +03:00
Alexander Zobnin
49ea07451f Fixed #191 - display host name for multiple metrics. 2016-04-11 23:12:38 +03:00
Alexander Zobnin
eb9722aef0 Iss #182 - fixed template variables inside regex. 2016-04-11 22:21:19 +03:00
Alexander Zobnin
44526229c7 Fixed #182 - templating bug with multi-value variables. 2016-04-07 22:52:50 +03:00
Alexander Zobnin
1b7abd5d37 Improved annotations fetching (use dashboard time interval for triggers getting). 2016-04-01 12:35:39 +03:00